We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sınıf yüklerken tüm sınıfların eklenmesi mantıklı gelmiyor.
Bunla ilgili güzel bir kaynak var : spl_autoload_register
The text was updated successfully, but these errors were encountered:
Şöyle bir sınıf yazdım ancak çok sınıf kullanılmadığından gerekli olur mu bilemedim ?
<?php class ApplicationImporter { public static function lib($classname) { $classpath = "lib/{$classname}.php"; self::_import($classpath); } public static function model($classname) { $classpath = "app/model/{$classname}.php"; self::_import($classpath); } public static function mailers($classname) { $classpath = "app/mailers/{$classname}.php"; self::_import($classpath); } private static function _import($classpath) { if (is_readable($classpath)) { require_once $classpath; } } } ?>
Sorry, something went wrong.
No branches or pull requests
Sınıf yüklerken tüm sınıfların eklenmesi mantıklı gelmiyor.
Bunla ilgili güzel bir kaynak var : spl_autoload_register
The text was updated successfully, but these errors were encountered: