/** * @param $TypeInfo &array Associative array of type information: * 'class','summary','description','actions' */ function __construct(&$TypeInfo, $Keys) { parent::__construct('calendar/notification'); $this->mDataArray['Type'] =& $TypeInfo; $this->mDataArray['Keys'] = $Keys; $this->mDataArray['Custom'] = ''; }
/** * @param $Style string Style of navbar to use. */ function __construct($Style = 'Navbar') { parent::__construct('general/navbar'); $this->mStyle = $Style; $this->mItems = array(); $this->mSelected = ''; }
function __construct($poll_data, $poll_option_data, $user_voted, $show_results) { parent::__construct('polls/vote_box'); $this->data = $poll_data; $this->option_data = $poll_option_data; $this->user_voted = $user_voted; $this->show_results = $show_results; }
function __construct() { /// Set view to use for layout & design of byline parent::__construct('general/byline'); /// Set default values for variables $this->mReporters = array(); $this->mDate = ''; }
/** * @param $ViewPath string The path of a CI view. * @param $Data array The initial data array. */ function __construct($ViewPath, $Data = array()) { parent::__construct($ViewPath, $Data); // Initialise data $this->IncludeSpecialHeadings(TRUE); $this->SetOccurrenceFilter(); $this->mUriFormat = Date_uri::DefaultFormat(); $this->mUriBase = ''; }
/** * @param $Class * - string Message type. * - array Values in array as returned by ToArray. * @param $Message string message text. */ function __construct($Class, $Message = '') { if (is_array($Class)) { $Message = $Class['text']; $Class = $Class['class']; } parent::__construct('general/message.php'); $this->mDataArray['class'] = $Class; $this->mDataArray['text'] = $Message; }
/** * @param $PageCode string Page code. * @param $Namespace string Namespace of page code. * @param $Scope array Scope variables to pass onto page model. * @note Actual page code is @a Namespace : @a PageCode. */ function __construct($PageCode, $Namespace = NULL, $Scope = array()) { parent::__construct(NULL); // Find and set page code using namespace if (NULL !== $Namespace) { $PageCode = $Namespace . ':' . $PageCode; } $CI =& get_instance(); $CI->pages_model->SetPageCode($PageCode); $this->mProperties = $CI->pages_model->GetPropertyArrayNew('main', false, $Scope); }
/** * @param $ViewPath string The path of a CI view of the frame. * @param $Data array The initial data array. */ function __construct($ViewPath, $Data = array()) { parent::__construct($ViewPath, $Data); $this->mDataArray['content'] = array(0 => new FramesView('')); }
function __construct() { parent::__construct('templates/list'); $config = get_instance()->config->item('comments'); $this->SetData('Mode', $config['edit']['moderator'] && PermissionsSubset('moderator', GetUserLevel()) ? 'mod' : null); $this->SetData('Threaded', true); $this->mMaxPerPage = $config['max_per_page']; }
/** * @param $ViewFile string Path of the view file to use. */ function __construct($ViewFile) { parent::__construct($ViewFile); }
function __construct($prefix) { parent::__construct('calendar/event_edit'); $this->mPrefix = 'eved'; //$prefix; }