/** * Returns the list of pair for mapping. * Key is field in DataManager, value is object property. * @return array */ public static function getMapAttributes() { static $shelve = null; if ($shelve !== null) { return $shelve; } $shelve = array_merge(parent::getMapAttributes(), array('HAS_SUBFOLDERS' => 'hasSubFolders')); return $shelve; }
/** * Returns the list of pair for mapping. * Key is field in DataManager, value is object property. * @return array */ public static function getMapAttributes() { static $shelve = null; if ($shelve !== null) { return $shelve; } $shelve = array_merge(parent::getMapAttributes(), array('ID' => 'id', 'NAME' => 'name', 'CODE' => 'code', 'STORAGE_ID' => 'storageId', 'STORAGE' => 'storage', 'TYPE' => 'type', 'REAL_OBJECT_ID' => 'realObjectId', 'REAL_OBJECT' => 'realObject', 'PARENT_ID' => 'parentId', 'DELETED_TYPE' => 'deletedType', 'TYPE_FILE' => 'typeFile', 'GLOBAL_CONTENT_VERSION' => 'globalContentVersion', 'FILE_ID' => 'fileId', 'SIZE' => 'size', 'EXTERNAL_HASH' => 'externalHash', 'CREATE_TIME' => 'createTime', 'UPDATE_TIME' => 'updateTime', 'DELETE_TIME' => 'deleteTime', 'CREATED_BY' => 'createdBy', 'CREATE_USER' => 'createUser', 'UPDATED_BY' => 'updatedBy', 'UPDATE_USER' => 'updateUser', 'DELETED_BY' => 'deletedBy', 'DELETE_USER' => 'deleteUser')); return $shelve; }