public function __construct(&$parent) { parent::__construct($parent); $this->setTitle('Symphony – Member Roles – Setup'); $this->setPageType('form'); $this->_driver = $parent->ExtensionManager->create('members'); }
public function __construct() { parent::__construct(); $this->errors = new MessageStack(); $this->fields = array(); $this->editing = $this->failed = false; $this->datasource = $this->handle = $this->status = $this->type = NULL; $this->types = array(); foreach (new ExtensionIterator(ExtensionIterator::FLAG_TYPE, array('Data Source')) as $extension) { $path = Extension::getPathFromClass(get_class($extension)); $handle = Extension::getHandleFromPath($path); if (Extension::status($handle) != Extension::STATUS_ENABLED) { continue; } if (!method_exists($extension, 'getDataSourceTypes')) { continue; } foreach ($extension->getDataSourceTypes() as $type) { $this->types[$type->class] = $type; } } if (empty($this->types)) { $this->alerts()->append(__('There are no Data Source types currently available. You will not be able to create or edit Data Sources.'), AlertStack::ERROR); } }
function __construct(&$parent) { parent::__construct($parent); $this->setTitle('Symphony – Member Roles – Untitled'); $ExtensionManager = new ExtensionManager($parent); $this->_driver = $ExtensionManager->create('members'); }
function __construct(&$parent) { parent::__construct($parent); $FileManager =& $this->_Parent->ExtensionManager->create('filemanager'); $file = $_REQUEST['file']; $FileManager->download($file); exit; }
public function __construct() { parent::__construct(); if ($this->_context[0]) { $this->formatter = TextformatterManager::create($this->_context[0]); } $this->_driver = ExtensionManager::create('templatedtextformatters'); }
public function __construct() { parent::__construct(); $this->_cols = array('IP' => __('IP Address'), 'FailedCount' => __('Failed Count'), 'DateCreated' => __('Date Created'), 'Source' => __('Source')); $this->_tables = array('black' => __('Black list'), 'gray' => __('Gray list'), 'white' => __('White list')); $this->_curColor = isset($_REQUEST['list']) && array_key_exists($_REQUEST['list'], $this->_tables) ? $_REQUEST['list'] : 'black'; $this->_data = array(); }
public function __construct() { parent::__construct(); $this->_uri = SYMPHONY_URL . '/extension/search_index'; $this->_synonyms = SearchIndex::getSynonyms(); $this->_synonym = NULL; $this->_hash = NULL; }
public function __construct(Administration &$parent) { parent::__construct($parent); self::$entryManager = new EntryManager(Administration::instance()); self::$sectionManager = self::$entryManager->sectionManager; self::$fieldManager = self::$entryManager->fieldManager; $this->_driver = Symphony::ExtensionManager()->create('bulkimporter'); }
public function __construct() { parent::__construct(); $this->setTitle(__('%1$s – %2$s', array(__('Symphony'), __('Settings')))); /* $element = $this->createElement('p'); $element->appendChild(new DOMEntityReference('ndash')); $this->Body->appendChild($element);*/ }
public function __construct() { parent::__construct(); $this->_uri = SYMPHONY_URL . '/extension/search_index'; $this->_sections = SectionManager::fetch(NULL, 'ASC', 'name'); $this->_indexes = SearchIndex::getIndexes(); $this->_section = NULL; $this->_index = NULL; $this->_weightings = array(__('Highest'), __('High'), __('Medium (none)'), __('Low'), __('Lowest')); }
public function __construct() { parent::__construct(); // cache array of all sections $this->_sections = SectionManager::fetch(NULL, 'ASC', 'name'); $this->_section = null; // cache array of all indexes $this->_indexes = SearchIndex::getIndexes(); $this->_index = null; }
public function __construct(&$parent) { parent::__construct($parent); $this->_uri = URL . '/symphony/extension/search_index'; $sectionManager = new SectionManager($this->_Parent); $this->_sections = $sectionManager->fetch(NULL, 'ASC', 'name'); $this->_indexes = SearchIndex::getIndexes(); $this->_section = NULL; $this->_index = NULL; }
public function __construct(&$parent) { parent::__construct($parent); if (!is_object($this->_Parent->FormatterManager)) { $this->_Parent->FormatterManager = new TextformatterManager($this->_Parent); } if ($this->_context[0]) { $this->formatter = $this->_Parent->FormatterManager->create($this->_context[0]); } $this->_driver = $this->_Parent->ExtensionManager->create('templatedtextformatters'); }
public function __construct(&$parent) { parent::__construct($parent); $sectionManager = new SectionManager(Administration::instance()); $this->_entryManager = new EntryManager(Administration::instance()); // cache array of all sections $this->_sections = $sectionManager->fetch(NULL, 'ASC', 'name'); $this->_section = null; // cache array of all indexes $this->_indexes = SearchIndex::getIndexes(); $this->_index = null; }
function __construct(&$parent) { parent::__construct($parent); $this->setPageType('form'); }
public function __construct(&$parent) { parent::__construct($parent); $this->_uri = URL . '/symphony/extension/importmanager'; $this->_driver = $this->_Parent->ExtensionManager->create('importmanager'); }
function __construct(&$parent) { parent::__construct($parent); $this->setPageType('form'); $this->setTitle(__('%1$s – %2$s', array(__('Symphony'), __('Preferences')))); }
function __construct(&$parent) { parent::__construct($parent); $this->_errors = array(); $this->_AuthorManager = new AuthorManager($parent); }
function __construct() { parent::__construct(); $this->_uri = URL . '/symphony/extension/author_roles/'; $this->_driver = Symphony::ExtensionManager()->create('author_roles'); }
public function __construct(&$parent) { parent::__construct($parent); }
function __construct(&$parent) { parent::__construct($parent); $this->_templateOrder = array('input', 'textarea', 'taglist', 'select', 'checkbox', 'date', 'author', 'upload'); }
public function __construct(&$parent) { parent::__construct($parent); $this->_driver = Administration::instance()->ExtensionManager->create('members'); }
public function __construct(&$parent) { parent::__construct($parent); $this->setTitle(__('%1$s – %2$s', array(__('Symphony'), __('Templated Text Formatters')))); $this->_driver = $this->_Parent->ExtensionManager->create('templatedtextformatters'); }
public function __construct(&$parent) { parent::__construct($parent); $this->_driver = $this->_Parent->ExtensionManager->create('pessimistic_db_locking'); }
public function __construct(&$parent) { parent::__construct($parent); $this->_driver = $this->_Parent->ExtensionManager->create('order_entries'); }
public function __construct() { parent::__construct(); $this->config = new DIM_Base(); }
function __construct(&$parent) { parent::__construct($parent); $this->_FileManager =& $this->_Parent->ExtensionManager->create('filemanager'); $this->setTitle(__('Symphony – File Manager – Untitled')); }
public function __construct(&$parent) { parent::__construct($parent); $this->_driver = $this->_Parent->ExtensionManager->create('paypal_payments'); }
public function __construct(&$parent) { parent::__construct($parent); $this->_errors = array(); }
public function __construct(&$parent) { parent::__construct($parent); $this->_uri = URL . '/symphony/extension/massuploadutility/inject'; $this->_driver = $this->_Parent->ExtensionManager->create('MassUploadUtility'); }