Свежайшие Пирожки от CakePHP по-русски

Полнейшее руководство CakePHP 1.2 на русском языке, горячие новости и полезные статьи

Loading Files

In 1.1, there were functions such as uses, vendor, and the load* functions like loadModel. These have been replaced with App::import.

To use vendor libraries/files which do not follow the cake naming convention or are nested in subdirectories in vendors use Простой текст

  1. App::import('vendor', 'aUniqueIdentifier', array('file' =>'path/relative/to/vendor/file.php'));

Returns true if successful