getInstance() публичный статический Метод

Returns the instance of CFile for the specified file.
public static getInstance ( string $filepath, string $class_name = __CLASS__ ) : object
$filepath string Path to file specified by user.
$class_name string Class name to spawn object for.
Результат object CFile instance
Пример #1
0
 public static function getInstance($filepath, $class_name = __CLASS__)
 {
     return parent::getInstance($filepath, __CLASS__);
 }