public createDir ( integer | string $permissions = 492, null | string $directory = null ) : boolean | CFile | ||
$permissions | integer | string | Access permissions for the directory |
$directory | null | string | Parameter used to create directory other than supplied by {@link set} method of the CFile |
return | boolean | CFile | Updated the current CFile object on success, 'False' on fail. |