Открытые члены | |
_init () | |
initUserRights ($flag) | |
getCreatorUser () | |
getClientUser () | |
beforeWrite ($flag) | |
afterObjectLoad () | |
afterWrite ($flag) | |
getPublicTitle () | |
delete () | |
getInteractionCount () | |
getTaskCount () | |
getRightRead () | |
getRightCreate () | |
getRightUpdate () | |
getRightDelete () | |
getStatus () | |
![]() | |
__construct ($id=null, $cache=true) | |
getPrimaryKeyProperty () | |
saveInCache ($id) | |
loadFromCache ($id) | |
![]() | |
static | __construct () |
__destruct () | |
fillDefaults () | |
getClassParameter ($key=null) | |
setClassParameter ($key, $value=null) | |
issetClassParameter ($key=null) | |
setLocalParameter ($key, $value=null) | |
getLocalParameter ($key, $default=null) | |
getParameter ($key, $default=null) | |
setPropertyIterator (PropertyIterator $iterator) | |
checkRights ($bool) | |
clear () | |
offsetExists ($offset) | |
offsetGet ($offset) | |
offsetSet ($offset, $value) | |
__set ($offset, $value) | |
__get ($offset) | |
offsetUnset ($offset) | |
getShortAlias () | |
load ($primaryKeyValue=null) | |
insert ($ignore=false, $on_duplicate_update_keys=[], $on_duplicate_uniq_fields=[]) | |
update ($primaryKey=null) | |
replace () | |
delete () | |
exists ($primaryKeyValue) | |
getFromArray (array $data, $remove_prefix=null, $mark_modify=true, $call_afterload_event=false) | |
getValues () | |
isModified ($property) | |
getPropertyIterator () | |
appendProperty (array $properties) | |
_getTableArray () | |
getPrimaryKeyProperty () | |
getProperties () | |
getProp ($offset) | |
save ($primaryKeyValue=null, $user_post=[], $post_var=null, $files_var=null) | |
replaceOn ($bool) | |
setWriteBit ($n) | |
usePostKeys (array $keys) | |
excludePostKeys (array $keys) | |
checkData ($user_post=[], $post_var=null, $files_var=null, $usekeys=null, $exclude=null, $flag=self::UPDATE_FLAG) | |
fillFromPost ($user_post=[], $post_var=null, $files_var=null, $usekeys=null, $exclude=null) | |
validateData ($flag=self::UPDATE_FLAG) | |
validate () | |
setCheckFields (array $fields) | |
escapeFields (array $escape_fields) | |
escapeAll ($bool) | |
checkField ($property) | |
addError ($string, $form=null) | |
addErrors ($array, $form=null) | |
getLastError () | |
getErrors () | |
getErrorsStr () | |
hasError () | |
getFormError () | |
getErrorsByForm ($key=null, $sep=null) | |
getDisplayErrors () | |
noWriteRights ($right=DefaultModuleRights::RIGHT_UPDATE) | |
getNonFormErrors () | |
clearErrors () | |
setTemporaryId () | |
setFormTemplate ($template) | |
dbUpdate () | |
addIndex ($fields, $type=self::INDEX_KEY, $name=null, $using=null) | |
getIndexes () | |
getForm (array $tpl_vars=null, $switch=null, $is_multiedit=false, $template=null, $tpl_maker=null, $tpl_folder=null) | |
getPropertyView ($key, $attributes=[], $view_params=[]) | |
getHiddenKeyVal () | |
addHiddenFields ($keys, $value=null) | |
addDebugActions (array $actions, $local=false) | |
addDebugAction (\RS\Debug\Action\AbstractAction $action, $local=false) | |
getDebugAttributes () | |
beforeWrite ($save_flag) | |
afterWrite ($save_flag) | |
afterObjectLoad () | |
getDebugActions () | |
dropTable () | |
exportErrors () | |
current () | |
key () | |
next () | |
rewind () | |
valid () | |
__sleep () | |
__wakeup () | |
__clone () | |
__isset ($offset) | |
getRightRead () | |
getRightCreate () | |
getRightUpdate () | |
getRightDelete () | |
getHtmlEncodedFields () | |
![]() | |
attachInstanceBehavior (BehaviorAbstract $behavior_class) | |
detachInstanceBehavior (BehaviorAbstract $behavior_class=null) | |
getAttachedBehaviors () | |
behaviorMethodExists ($method_name) | |
__call ($method_name, $arguments) | |
![]() | |
attachInstanceBehavior (\RS\Behavior\BehaviorAbstract $behavior_class) | |
detachInstanceBehavior (\RS\Behavior\BehaviorAbstract $behavior_class=null) | |
Открытые статические члены | |
static | getAllowedLinkTypes () |
static | getLinkSourceType () |
static | getClientTypeTitles () |
static | getSelfLinkManagerType () |
![]() | |
static | loadSingle ($id) |
![]() | |
static | loadByWhere ($expr, array $values=null, $prefix= 'AND', $in_prefix= 'AND') |
static | _getTable () |
static | chkDepend ($coreobj, $value, $real_errtext, $real_chk, array $conditions, $real_params=[]) |
static | destroyClass () |
![]() | |
static | attachClassBehavior (BehaviorAbstract $behavior_class) |
static | detachClassBehavior (BehaviorAbstract $behavior_class=null) |
![]() | |
static | attachClassBehavior (\RS\Behavior\BehaviorAbstract $behavior_class) |
static | detachClassBehavior (\RS\Behavior\BehaviorAbstract $behavior_class=null) |
Поля данных | |
const | FILES_LINK_TYPE = 'Crm-CrmDeal' |
const | CLIENT_TYPE_GUEST = 'guest' |
const | CLIENT_TYPE_USER = 'user' |
![]() | |
const | INSERT_FLAG = 'insert' |
const | UPDATE_FLAG = 'update' |
const | REPLACE_FLAG = 'replace' |
const | INDEX_PRIMARY = 'primary key' |
const | INDEX_UNIQUE = 'unique' |
const | INDEX_KEY = 'index' |
const | INDEX_FULLTEXT = 'fulltext' |
![]() | |
$class_behaviors = [] | |
$cache_behavior_instances = [] | |
$instance_behaviors = [] | |
Статические защищенные данные | |
static | $table = 'crm_deal' |
![]() | |
static | $self_singleton_cache = [] |
![]() | |
static | $db = DB_NAME |
static | $table = null |
static | $iterator = 0 |
static | $init_default_method = '_initDefaults' |
static | $local = [] |
static | $default_local_parameters |
static static | $class = [] |
static | $default_class_parameters |
Дополнительные унаследованные члены | |
![]() | |
static | $self_cache = [] |
![]() | |
_init () | |
![]() | |
initProperties () | |
_init () | |
_initDefaults () | |
afterInit () | |
getStorageInstance () | |
getTableEngine () | |
getPropertyHash ($is_multiedit, $switch=null) | |
![]() | |
static | getIdHash ($id) |
![]() | |
static | _tableName ($with_quotes=true) |
static | _dbName ($with_quotes=true) |
![]() | |
$_values = [] | |
$_self_class | |
$_local_id | |
_init | ( | ) |
afterObjectLoad | ( | ) |
Обработчик, вызывается сразу после загрузки объекта
afterWrite | ( | $flag | ) |
Обработчик, вызывается после созранения объекта
string | $flag |
beforeWrite | ( | $flag | ) |
Обработчик, вызывается перед сохранением объекта
string | $flag |
delete | ( | ) |
Удаляет текущий объект, а также все ссылки на него
|
static |
Возвращает список возможных родительских объектов
|
static |
Возвращает список типов пользователей
getClientUser | ( | ) |
Возвращает объект пользователя, для которого создается сделка Если пользователь незарегистрирован, то у него не будет id
getCreatorUser | ( | ) |
Возвращает пользователя, создавшего сделку
getInteractionCount | ( | ) |
Возвращает количество взаимодействий с данной сделкой
|
static |
Возвращает идентификатор связываемого объекта
getPublicTitle | ( | ) |
Возвращает строку, идентифицирующую данную сделку
getRightCreate | ( | ) |
Возвращает идентификатор права на создание для данного объекта
getRightDelete | ( | ) |
Возвращает идентификатор права на удаление для данного объекта
getRightRead | ( | ) |
Возвращает идентификатор права на чтение для данного объекта
getRightUpdate | ( | ) |
Возвращает идентификатор права на изменение для данного объекта
|
static |
Возвращает тип связи с данным объектом
getStatus | ( | ) |
Возвращает объект текущего статуса
getTaskCount | ( | ) |
Возвращает количество задач для данной сделки
initUserRights | ( | $flag | ) |
Устанавливает права для полей ORM объекта
string | $flag |
|
staticprotected |
const CLIENT_TYPE_GUEST = 'guest' |
const CLIENT_TYPE_USER = 'user' |
const FILES_LINK_TYPE = 'Crm-CrmDeal' |