コード例 #1
0
 public function actions()
 {
     return ['getTree' => ['class' => AdjacencyFullTreeDataAction::className(), 'class_name' => Navigation::className(), 'model_label_attribute' => 'name'], 'move' => ['class' => TreeNodeMoveAction::className(), 'className' => Navigation::className()], 'reorder' => ['class' => TreeNodesReorderAction::className(), 'className' => Navigation::className()], 'addImage' => ['class' => AddImageAction::className()], 'upload' => ['class' => UploadAction::className()], 'remove' => ['class' => RemoveAction::className()], 'save-info' => ['class' => SaveInfoAction::className()]];
 }
コード例 #2
0
 public function actions()
 {
     return ['getTree' => ['class' => AdjacencyFullTreeDataAction::className(), 'class_name' => Page::className(), 'model_label_attribute' => 'name'], 'upload' => ['class' => UploadAction::className(), 'upload' => 'theme/resources/product-images'], 'remove' => ['class' => RemoveAction::className(), 'uploadDir' => 'theme/resources/product-images'], 'save-info' => ['class' => SaveInfoAction::className()], 'property-handler' => ['class' => PropertyHandler::className(), 'modelName' => Page::className()], 'move' => ['class' => TreeNodeMoveAction::className(), 'className' => Page::className(), 'saveAttributes' => ['slug_compiled']], 'reorder' => ['class' => TreeNodesReorderAction::className(), 'className' => Page::className()]];
 }
コード例 #3
0
 public function actions()
 {
     return ['getTree' => ['class' => AdjacencyFullTreeDataAction::className(), 'class_name' => Navigation::className(), 'model_label_attribute' => 'name'], 'move' => ['class' => TreeNodeMoveAction::className(), 'className' => Navigation::className()], 'reorder' => ['class' => TreeNodesReorderAction::className(), 'className' => Navigation::className()]];
 }