function __construct($id = false) { $this->_table = "Tour"; $this->_idfield = "tourID"; $this->_LINKED = array(array('classname' => 'Guides', 'type' => 'one2one', 'classLinkField' => 'guideID', 'idField' => 'guideID'), array('classname' => 'Users', 'type' => 'many2many', 'linkTable' => 'TourUsers', 'classLinkField' => $this->_idfield, 'addFields' => 'tourUserType,tourUserDate,tourUserComments,tourUserCommentsUser,tourUserCommentsRegVia,tourUserCommentsPrepay,tourUserCommentsTicket,tourUserAddName1,tourUserAddValue1,tourUserAddName2,tourUserAddValue2,tourUserAddName3,tourUserAddValue3,tourUserAddName4,tourUserAddValue4,tourUserAddName5,tourUserAddValue5,tourUserAddEmail1,tourUserAddEmail2,tourUserRooming,tourUserRoomingComment,tourUserRoomingType,tourUserRoomingNo,tourUserModifyDate', 'idField' => 'userID', 'options' => array(array('field' => 'tourUserRoomingNo', 'eq' => 'ORDERBY', 'value' => 'tourUserRoomingNo')))); return parent::__construct($id); }
function __construct($id = false) { $this->_table = "Trip"; $this->_idfield = "tripID"; $this->_LINKED = array(array('classname' => 'Tours')); return parent::__construct($id); }
function __construct($id = false) { $this->_table = "Invitations"; $this->_idfield = "invitationID"; $this->_datefield = "invitationDate"; return parent::__construct($id); }
public function __construct($key, $quantity, $price) { parent::__construct(); $this->_key = $key; $this->_quantity = $quantity; $this->_price = $price; $this->_features = array(); }
/** * */ public function __construct($id, $name, $css_class, $checked = FALSE) { parent::__construct(); $this->id = $id; $this->name = $name; $this->css_class = $css_class; $this->checked = $checked; }
/** * */ public function __construct($id, $name, $css_class, $script) { parent::__construct(); $this->id = $id; $this->name = $name; $this->css_class = $css_class; $this->script = $script; }
function __construct($id = false) { $this->_table = "User"; $this->_idfield = "userID"; $this->_datefield = "userRegistrationDate"; $this->_LINKED = array(array('classname' => 'Tours', 'type' => 'many2many', 'linkTable' => 'TourUsers', 'classLinkField' => $this->_idfield, 'addFields' => 'tourUserType,tourUserDate,tourUserComments,tourUserCommentsUser,tourUserCommentsRegVia,tourUserCommentsPrepay,tourUserCommentsTicket,tourUserAddName1,tourUserAddValue1,tourUserAddName2,tourUserAddValue2,tourUserAddName3,tourUserAddValue3,tourUserAddName4,tourUserAddValue4,tourUserAddName5,tourUserAddValue5,tourUserAddEmail1,tourUserAddEmail2,tourUserRooming,tourUserRoomingComment,tourUserRoomingType,tourUserRoomingNo,tourUserModifyDate', 'idField' => 'tourID'), array('classname' => 'Users', 'type' => 'one2one', 'classLinkField' => $this->_idfield, 'idField' => 'userReferalID')); return parent::__construct($id); }
function __construct($attributes = array(), $entities = array()) { $this->entities = array(); foreach ($entities as $entity) { $this->append($entity->copy()); } parent::__construct($attributes); }
function __construct($id = false) { $this->_table = "Customers"; $this->_idfield = "customerID"; $this->_datefield = "customerCreationDate"; $this->_LINKED = array(array('classname' => 'Invitations')); return parent::__construct($id); }
public function __construct($page_id) { parent::__construct(); if ($page_id != NULL) { $page_id = (int) $page_id; util_Validator::validate($page_id, 'integer'); $this->init($page_id); } }
function __construct($attributes = array()) { $defaults = array(); $defaults['name'] = 'Writer'; $defaults['flag'] = 64; $defaults['color'] = 7; $defaults['lineType'] = 'continuous'; parent::__construct(array_merge($defaults, $attributes)); }
public function __construct($shipment_id = 0) { parent::__construct(); if ((int) $shipment_id > 0) { $shipment_id = (int) $shipment_id; util_Validator::validate($shipment_id, 'integer'); $this->init($shipment_id); } }
function __construct($id = false) { $this->_table = "Partners"; $this->_idfield = "partnerID"; $this->_LINKED = array(); $this->_FIELDTYPES = array('partnerID' => 'hidden'); $this->_CHECKFIELDS = array('partnerID' => 'required', 'partnerName' => 'required'); $this->_FIELDNAMES = array('partnerID' => '#', 'partnerName' => 'Имя/название'); return parent::__construct($id); }
function __construct($id = false) { $this->_table = "Guide"; $this->_idfield = "guideID"; $this->_LINKED = array(array('classname' => 'Tours', 'type' => 'many2one', 'classLinkField' => 'guideID', 'idField' => 'guideID')); $this->_FIELDTYPES = array('guideID' => 'hidden'); $this->_CHECKFIELDS = array('guideID' => 'required', 'guideName' => 'required'); $this->_FIELDNAMES = array('guideID' => '#', 'guideName' => 'Имя Гида', 'guidePhone' => 'Телефон', 'guideEmail1' => 'Email', 'guideEmail2' => 'Дополнительный email'); return parent::__construct($id); }
/** * */ public function __construct($id, $name, $css_class, $selected_id = 0, $placeHolder = '') { parent::__construct(); $this->id = $id; $this->name = $name; $this->css_class = $css_class; $this->placeHolder = $placeHolder; if ((int) $selected_id > 0) { $this->selected_id = $selected_id; } }
function __construct() { parent::__construct(); $path = $this->getConfig('cache_path'); $uri = Loader::getClass('Sky.core.Router'); $key = implode($uri->segments, '.') . implode($_GET, '.'); if (!is_dir($path)) { Exceptions::showError('Server Error', 'Cache Folder Not Found at: ' . $path); } if (!is_writable($path)) { Exceptions::showError('Server Error', 'Unable to write Cache Folder'); } }
function __construct($attributes = array()) { $defaults = array(); $defaults['name'] = 'continuous'; $defaults['flag'] = 64; $defaults['description'] = 'Solid line'; // TODO: Implement lineType elements //length (49), //elementType Complex linetype element (74) // shapeNo shape numeber (75) $defaults['elements'] = array(); parent::__construct(array_merge($defaults, $attributes)); }
function __construct($attributes = array()) { $defaults = array(); $defaults['name'] = 'standard'; $defaults['flag'] = 0; $defaults['height'] = 0; $defaults['widthFactor'] = 40; $defaults['obliqueAngle'] = 50; $defaults['mirror'] = 0; $defaults['lastHeight'] = 1; $defaults['font'] = 'arial.ttf'; $defaults['bigFont'] = ''; parent::__construct(array_merge($defaults, $attributes)); }
public function __construct($type, $name) { parent::__construct(); $this->_name = $name; $this->_type = $type; if (!is_null(self::$_context) && self::$_context->hasParam($name)) { $this->_value = self::$_context->getParam($name); } else { $this->_value = null; } $this->_default_value = null; $this->_configuration = null; $this->_renderer = null; }
public function __construct() { parent::__construct(); $this->EE =& get_instance(); $this->EE->load->library('google_maps'); $this->EE->load->model('data_import_model'); $this->EE->load->driver('Channel_data'); if ($memory = config_item('gmap_import_memory')) { ini_set('memory_limit', $memory); } if ($upload_max_filesize = config_item('gmap_import_max_file_size')) { ini_set('upload_max_filesize', $upload_max_filesize); ini_set('post_max_size', $upload_max_filesize); } }
public function __construct($contact_id = 0, $customer_id = 0) { parent::__construct(); if ((int) $contact_id > 0) { $contact_id = (int) $contact_id; util_Validator::validate($contact_id, 'integer'); $this->init($contact_id, 0); } else { if ((int) $customer_id > 0) { $customer_id = (int) $customer_id; util_Validator::validate($customer_id, 'integer'); $this->init(0, $customer_id); } } }
public function __construct($id, $title = '') { parent::__construct(); if (strlen($title) > 0) { $this->title = $title; } // $this->messages['danger'] = 'DANGER'; $this->page_id = $id; $this->headerHTML = $this->generateHeaderHTML(); $this->navbarHTML = $this->generateNavBarHTML(); $this->messagesHTML = $this->generateMessagesHTML(); $this->scriptHTML = $this->generateScriptHTML(); $this->footerHTML = $this->generateFooterHTML(); // Put all parts together. $this->pageHTML = $this->generatePageHTML(); }
public function reSite($verificodea, $siteID, $template_id = 0) { $_GET['siteID'] = $siteID; //return 999999; parent::__construct(); /*if(!$this->validateParam($siteID,$verificodea)) return 0;*/ require_once __DIR__ . '/../class/GenerateHtmlClass.php'; $_POST["publishType"] = "publishAll"; $obj = new GenerateHtmlClass($siteID); // if($obj->countReleaseFile() > 10000){ // return 2; // } // else{ return $obj->releaseFile($template_id); // } }
function __construct($attributes = array()) { $defaults = array(); $defaults['name'] = 'standard'; $defaults['flag'] = 0; $defaults['width'] = 1; $defaults['height'] = 1; $defaults['center'] = array(0.5, 0.5); $defaults['direction'] = array(0, 0, 1); $defaults['target'] = array(0, 0, 0); $defaults['lens'] = 50; $defaults['frontClipping'] = 0; $defaults['backClipping'] = 0; $defaults['twist'] = 0; $defaults['mode'] = 0; parent::__construct(array_merge($defaults, $attributes)); }
/** * */ public function __construct($options = array()) { parent::__construct(); if (array_key_exists('id', $options) === TRUE && strlen($options['id']) > 0) { $this->id = $options['id']; } if (array_key_exists('name', $options) === TRUE && strlen($options['name']) > 0) { $this->name = $options['name']; } if (array_key_exists('css_class', $options) === TRUE && strlen($options['css_class']) > 0) { $this->css_class = $options['css_class']; } if (array_key_exists('onclick', $options) === TRUE && strlen($options['onclick']) > 0) { $this->onclick = $options['onclick']; } if (array_key_exists('content', $options) === TRUE && strlen($options['content']) > 0) { $this->content = $options['content']; } }
function __construct() { parent::__construct(); }
public function __construct() { parent::__construct(); $this->_items = array(); }
function __construct() { parent::__construct(); print "Конструктор класса SubClass\n"; echo BR; }
function __construct() { parent::__construct(); $this->table = 'usr'; }
public function __construct($params = array()) { parent::__construct(); $this->params = $params; }