Версия: 6.x
burger close
Класс InventoryReservationCtrl
Граф наследования:InventoryReservationCtrl:
AbstractDocument Crud Front AbstractAdmin AbstractModule AbstractController IController

Открытые члены

 __construct ()
 
 actionAdd ($primaryKeyValue=null, $returnOnSuccess=false, $helper=null)
 
 actionCreateFromOrder ()
 
 actionMakeWriteOff ()
 
- Открытые члены унаследованные от AbstractDocument
 __construct ()
 
 actionIndex ()
 
 helperIndex ()
 
 actionAdd ($primaryKeyValue=null, $returnOnSuccess=false, $helper=null)
 
 disableOrmEdit ($orm, $helper, $message)
 
- Открытые члены унаследованные от Crud
 __construct (EntityList $api)
 
 actionGetTreeChildsHtml ()
 
 actionTreeMultiEdit ()
 
 actionTreeEdit ()
 
 helperTreeEdit ()
 
 actionTreeClone ()
 
 actionTreeAdd ($primary_key_value=null)
 
 helperTreeAdd ()
 
 actionTreeMove ()
 
 actionTreeDel ()
 
 actionCategoryMultiEdit ()
 
 actionCategoryEdit ()
 
 helperCategoryEdit ()
 
 actionCategoryClone ()
 
 actionCategoryAdd ($primaryKey=null)
 
 helperCategoryAdd ()
 
 actionCategoryMove ()
 
 actionCategoryDel ()
 
 actionIndex ()
 
 actionAdd ($primaryKeyValue=null, $returnOnSuccess=false, $helper=null)
 
 actionEdit ()
 
 actionMove ()
 
 redirectToIndex ()
 
 successSave ()
 
 actionTableOptions ()
 
 getUpdateChunkSize ()
 
 setUpdateChunkSize ($chunk_size)
 
 getTimeout ()
 
 setTimeout ($sec)
 
 helperMultiEdit ()
 
 modifySelectAll ($ids)
 
 buttons ($buttons, $buttons_text=null, $ajax=true)
 
 setHelper ($helper)
 
 getHelper ()
 
 setCrudActions ($actions=null)
 
 exec ($returnAsIs=false)
 
 actionClone ()
 
 actionMarkOneAsViewed ()
 
 actionMarkAllAsViewed ()
 
 getTreeApi ()
 
 getApi ()
 
- Открытые члены унаследованные от Front
 __construct ()
 
 wrapOutput ($bool)
 
 checkAccessRight ()
 
 exec ($returnAsIs=false)
 
- Открытые члены унаследованные от AbstractAdmin
 __construct ($param=[])
 
 checkAccessRight ()
 
- Открытые члены унаследованные от AbstractModule
 __construct ($param=[])
 
 getParam ($key=null, $default=null, $checkempty=false)
 
 setParam ($key, $value=null)
 
 setResource ()
 
 getControllerName ()
 
 addResource ()
 
 init ()
 
 fetch ($tpl, $param_name= 'tpl')
 
 request ($key, $type, $default=null, $strip= '')
 
 getKeyName ($keyname)
 
 comError ($error_text)
 
 checkAccessRight ()
 
 exec ($returnAsIs=false)
 
 getDebugGroup ()
 
 getModTplPath ()
 
 getModuleConfig ()
 
- Открытые члены унаследованные от AbstractController
 __construct ()
 
 isViewCacheExpired (string $cache_id_str, string $template, int $lifetime=null)
 
 wrapHtml ($body, $html_template=null)
 
 getAction ()
 
 exec ($returnAsIs=false)
 
 processResult ($result)
 
 presetAct ($act)
 
 e404 ($reason=null)
 
 redirect ($url=null, $status=302)
 
 refreshPage ()
 
 getUrlName ()
 
- Открытые члены унаследованные от IController
 exec ()
 

Поля данных

 $template_title = '%catalog%/form/inventory/field_reserve_title.tpl'
 
- Поля данных унаследованные от AbstractDocument
 $template_title
 
 $top_title
 
 $type
 
 $top_help
 
 $config
 
- Поля данных унаследованные от Crud
 $edit_call_action = 'actionAdd'
 
- Поля данных унаследованные от AbstractAdmin
 $change_site_var = 'site_id_context'
 
 $before_site_id
 
- Поля данных унаследованные от AbstractController
const DEFAULT_ERROR_PAGE_TPL = '%THEME%/exception.tpl'
 
 $view
 
 $url
 
 $app
 
 $router
 

Дополнительные унаследованные члены

- Защищенные члены унаследованные от Crud
 getAllowableOrmClasses ()
 
 getIndexTreeElement ()
 
 getIndexTreeFilterControl ()
 
 helperIndex ()
 
 helperAdd ()
 
 helperEdit ()
 
 setTreeApi (TreeList $tree_api, $tree_entity_type_accusative= '')
 
 getCategoryApi ()
 
 setCategoryApi (EntityList $category_api, $category_entity_type_accusative= '')
 
 setApi (EntityList $api)
 
 runLimitedGroupTask ($callback, $ids, $chunk_size, $offset, $timeout, $session_key=null)
 
- Защищенные члены унаследованные от AbstractAdmin
 changeSiteIdIfNeed ($new_site_id)
 
 setSiteIdByOrmObject ($api, $orm_object=null)
 
 restoreSiteId ()
 
- Защищенные данные унаследованные от Crud
 $allow_crud_actions
 
 $sqlMultiUpdate = true
 
 $selectAllVar = 'selectAll'
 
 $edit_url_var = 'edit_url'
 
 $sess_where = '_list'
 
 $multiedit_check_func
 
 $user_post_data = []
 
 $api
 
 $tree_api
 
 $tree_entity_type_accusative = ''
 
 $category_api
 
 $category_entity_type_accusative = ''
 
 $update_chunk_size = BULK_OPERATION_CHUNK_SIZE
 
 $timeout = BULK_OPERATION_TIMEOUT
 
- Защищенные данные унаследованные от Front
 $result
 
 $action_var = 'do'
 
 $wrap_output = true
 
 $wrap_template = '%SYSTEM%/admin/body.tpl'
 
 $block_tpl = '%SYSTEM%/admin/block.tpl'
 
 $block_form_tpl = '%SYSTEM%/admin/crud_form.tpl'
 
- Защищенные данные унаследованные от AbstractModule
 $user
 
 $access_right = 1
 
 $default_params = []
 
 $param = []
 
 $mod_name = ''
 
 $controller_name = ''
 
 $mod_css = '/modules/%MODULE%/view/css/'
 
 $mod_js = '/modules/%MODULE%/view/js/'
 
 $mod_img = '/modules/%MODULE%/view/img/'
 
 $mod_tpl = '/modules/%MODULE%/view/'
 
 $mod_relative_tpl = ''
 
- Защищенные данные унаследованные от AbstractController
 $act = null
 
 $action_var = 'Act'
 
 $result
 

Конструктор(ы)

__construct ( )

Методы

actionAdd (   $primaryKeyValue = null,
  $returnOnSuccess = false,
  $helper = null 
)

Форма добавления документа

Аргументы
mixed$primaryKeyValue- id редактируемой записи
boolean$returnOnSuccess- Если true, то будет возвращать === true при успешном сохранении, иначе будет вызов стандартного _successSave метода
null | \RS\Controller\Admin\Helper\CrudCollection$helper- текуй хелпер
Возвращает
|bool
actionCreateFromOrder ( )

Создает документ по заказу

Возвращает
actionMakeWriteOff ( )

Переводит документ в списание

Возвращает

Поля

$template_title = '%catalog%/form/inventory/field_reserve_title.tpl'