Public Member Functions |
| | __construct ($id=null) |
| | delete () |
| | checkAccess ($user_id=null, $throw_exception=true) |
| | createFile ($name, $description= '') |
| | copy (File $source, $name, $description= '') |
| | getEntry ($name) |
| | getPermissions () |
| | countFiles ($count_deep=false, $count_folders=true) |
| | isEmpty () |
| | isRootDirectory () |
| | link (File $file, $name, $description= '') |
| | ensureUniqueFilename ($name, File $file=null) |
| | listFiles () |
| | listDirectories () |
| | mkdir ($name, $description= '') |
| | isReadable () |
| | isWritable () |
| | open ($mode) |
| | search ($text) |
| | setPermissions ($permissions) |
| | unlink ($name) |
| | update () |
| | getLinks () |
| | getStoragePath () |
| | getStorageObject () |
| | setContentFromFile ($file) |
| | __clone () |
| | getRelationOptions ($relation) |
| | getTableMetadata () |
| | hasAutoIncrementColumn () |
| | setId ($id) |
| | getId () |
| | getNewId () |
| | toArray ($only_these_fields=null) |
| | toArrayRecursive ($only_these_fields=null) |
| | getValue ($field) |
| | getRelationValue ($relation, $field) |
| | setValue ($field, $value) |
| | __get ($field) |
| | __set ($field, $value) |
| | __isset ($field) |
| | offsetExists ($offset) |
| | offsetGet ($offset) |
| | offsetSet ($offset, $value) |
| | offsetUnset ($offset) |
| | getIterator () |
| | count () |
| | isField ($field) |
| | isAdditionalField ($field) |
| | isAliasField ($field) |
| | setData ($data, $reset=false) |
| | haveData () |
| | isNew () |
| | isDeleted () |
| | setNew ($is_new) |
| | getWhereQuery () |
| | restore () |
| | store () |
| | triggerChdate () |
| | isDirty () |
| | isFieldDirty ($field) |
| | revertValue ($field) |
| | getPristineValue ($field) |
| | initRelation ($relation) |
| | resetRelation ($relation) |
Static Public Member Functions |
| static | find ($context_id) |
| static | getRootDirectory ($context_id) |
| static | get ($id) |
| static | expireTableScheme () |
| static | exists ($id) |
| static | countBySql ($sql=1, $params=array()) |
| static | create ($data) |
| static | build ($data, $is_new=true) |
| static | buildExisting ($data) |
| static | import ($data) |
| static | findBySQL ($sql, $params=array()) |
| static | findByObject (SimpleORMap $object) |
| static | findOneBySQL ($where, $params=array()) |
| static | findThru ($foreign_key_value, $options) |
| static | findEachBySQL ($callable, $sql, $params=array()) |
| static | findMany ($pks=array(), $order= '', $order_params=array()) |
| static | findEachMany ($callable, $pks=array(), $order= '', $order_params=array()) |
| static | findAndMapBySQL ($callable, $where, $params=array()) |
| static | findAndMapMany ($callable, $pks=array(), $order= '', $order_params=array()) |
| static | deleteBySQL ($where, $params=array()) |
| static | toObject ($id_or_object) |
| static | __callStatic ($name, $arguments) |
File.php
Class to represent (virtual) root directory. Root directories are not represented in the database.
Copyright (c) 2013 Elmar Ludwig
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.