public static function getSettings() { $ret = parent::getSettings(); $ret['componentName'] = trlKwfStatic('Guestbook'); $ret['placeholder']['writeText'] = trlKwfStatic('New Entry'); return $ret; }
public static function getSettings($param = null) { $ret = parent::getSettings($param); $ret['generators']['detail']['component'] = 'Kwc_Blog_Comments_Detail_Component'; $ret['generators']['child']['component']['newCommentMail'] = 'Kwc_Blog_Comments_NewCommentMail_Component'; unset($ret['generators']['write']); //either use write (on child page): //$ret['generators']['write']['component'] = 'Kwc_Blog_Comments_Write_Component'; //or quickwrite (default): $ret['generators']['quickwrite'] = array('class' => 'Kwf_Component_Generator_Static', 'component' => 'Kwc_Blog_Comments_QuickWrite_Component'); return $ret; }
public static function getSettings() { $ret = parent::getSettings(); $ret['componentName'] = trlKwfStatic('Guestbook'); $ret['componentCategory'] = 'admin'; $ret['generators']['detail']['component'] = 'Kwc_Guestbook_Detail_Component'; $ret['generators']['write']['component'] = 'Kwc_Guestbook_Write_Component'; $ret['generators']['child']['component']['mail'] = 'Kwc_Guestbook_Mail_Component'; $ret['generators']['child']['component']['activate'] = 'Kwc_Guestbook_ActivatePost_Component'; $ret['generators']['child']['component']['deactivate'] = 'Kwc_Guestbook_DeactivatePost_Component'; $ret['ownModel'] = 'Kwf_Component_FieldModel'; $ret['extConfig'] = 'Kwc_Guestbook_ExtConfig'; $ret['extConfigControllerIndex'] = 'Kwc_Guestbook_ExtConfigControllerIndex'; $ret['menuConfig'] = 'Kwf_Component_Abstract_MenuConfig_SameClass'; return $ret; }
public static function getSettings() { $ret = parent::getSettings(); $ret['childModel'] = 'Kwc_Trl_Posts_Posts_Model'; return $ret; }