/** * Constructor * * @return void * @access public * @since 9/24/07 */ public function __construct() { parent::__construct(); $this->editModeVisitor = new EditModeSiteVisitor(); $this->editModeVisitor->_action = 'headerfooter'; $this->editModeVisitor->_controlsVisitor->setReturnAction('headerfooter'); }
/** * Constructor * * @return object * @access public * @since 4/14/06 */ function __construct() { $this->_action = 'editview'; $this->_controlsVisitor = new EditModeControlsSiteVisitor(); $this->_controlsVisitor->setReturnAction($this->_action); parent::__construct(); $this->_classNames = array('Block' => _('Content Block'), 'NavBlock' => _('Page'), 'NavSection' => _('Section'), 'SiteNavBlock' => _('Site'), 'MenuOrganizer' => _('Pages Container'), 'FlowOrganizer' => _('Content Container'), 'FixedOrganizer' => _('Layout Container'), 'SubMenu_multipart' => _('Section'), 'SidebarSubMenu_multipart' => _('Section with Sidebar'), 'ContentPage_multipart' => _('Page'), 'SidebarContentPage_multipart' => _('Page with Sidebar')); ob_start(); // Print out Javascript functions needed by our methods $this->printJavascript(); print <<<END \t\t\t \t\t\t<style type='text/css'> \t\t\t\t.controls_form { \t\t\t\t\ttext-align: left; \t\t\t\t\tcolor: #000; \t\t\t\t\tpadding: 3px; \t\t\t\t} \t\t\t\t \t\t\t\t.controls_form a { \t\t\t\t\ttext-align: left; \t\t\t\t\tcolor: #000; \t\t\t\t} \t\t\t</style> END; $harmoni = Harmoni::instance(); $outputHandler = $harmoni->getOutputHandler(); $outputHandler->setHead($outputHandler->getHead() . ob_get_clean()); UserDataHelper::writeHeadJs(); }
/** * Constructor * * @return void * @access public * @since 9/24/07 */ public function __construct() { parent::__construct(); $this->editModeVisitor = new EditModeSiteVisitor(); $this->_action = 'editHeader'; $this->editModeVisitor->setReturnAction($this->_action); }
/** * Constructor. * * @param object BlockSiteComponent $node * @return void * @access public * @since 5/18/07 */ function __construct($node) { parent::__construct(); $this->_node = $node; $this->_flowOrg = $node->getParentComponent(); $this->_flowOrgId = $this->_flowOrg->getId(); }