public function paramRules() { return array('title' => $this->title, 'modelClass' => 'modelClass', 'options' => array(array('name' => 'attributes'), array('name' => 'modelClass', 'label' => Yii::t('studio', 'Record Type'), 'type' => 'dropdown', 'options' => X2Flow::getModelTypes(true)), array('name' => 'createRelationship', 'label' => Yii::t('studio', 'Create Relationship') . '<span class="x2-hint" title="' . Yii::t('app', 'Check this box if you want a new relationship to be ' . 'established between the record created by this action and the record that' . ' triggered the flow.') . '"> [?]</span>', 'type' => 'boolean', 'defaultVal' => false))); }
public function paramRules() { return array('title' => Yii::t('studio', $this->title), 'info' => Yii::t('studio', $this->info), 'modelClass' => 'modelClass', 'options' => array(array('name' => 'modelClass', 'label' => Yii::t('studio', 'Record Type'), 'type' => 'dropdown', 'options' => X2Flow::getModelTypes(true)))); }
public function paramRules() { return array('title' => Yii::t('studio', $this->title), 'info' => Yii::t('studio', $this->info), 'modelClass' => 'modelClass', 'options' => array(array('name' => 'modelClass', 'label' => Yii::t('studio', 'Record Type'), 'type' => 'dropdown', 'options' => X2Flow::getModelTypes(true)), array('name' => 'subject', 'label' => Yii::t('emailInboxes', 'Subject'), 'operators' => array('=', '<>', 'list', 'notList', 'contains', 'noContains'), 'optional' => 1), array('name' => 'body', 'label' => Yii::t('emailInboxes', 'Body'), 'operators' => array('=', '<>', 'list', 'notList', 'contains', 'noContains'), 'optional' => 1), array('name' => 'to', 'label' => Yii::t('emailInboxes', 'To'), 'operators' => array('=', '<>', 'list', 'notList', 'contains', 'noContains'), 'optional' => 1), array('name' => 'from', 'label' => Yii::t('emailInboxes', 'From'), 'operators' => array('=', '<>', 'list', 'notList', 'contains', 'noContains'), 'optional' => 1))); }