Пример #1
0
 /** Constructor
  * 
  * @param array $conf
  */
 public function __construct($conf)
 {
     parent::__construct($conf);
     Trace::add_trace('construct class', __METHOD__);
     $this->author = isset(self::$conf['general']['author']) ? self::$conf['general']['author'] : '';
     $this->version = isset(self::$conf['general']['app_version']) ? self::$conf['general']['app_version'] : '';
 }
Пример #2
0
 function __construct()
 {
     $this->table = new fpp_client_Model();
     $this->id_client = (int) @$_SESSION['conf']['client']['id'];
     self::$id_cliente = $this->id_client;
     parent::__construct();
 }
Пример #3
0
 function __construct()
 {
     parent::__construct();
     $this->load_report_beans();
     require_once 'modules/AOW_WorkFlow/aow_utils.php';
     require_once 'modules/AOR_Reports/aor_utils.php';
 }
Пример #4
0
 public function __construct($conf)
 {
     parent::__construct($conf);
     Trace::add_trace('construct class', __METHOD__);
     $this->user_ip = $this->get_ip_address();
     $this->is_loged();
 }
Пример #5
0
 public function __construct()
 {
     parent::__construct();
     // initialize currency
     $currency = SugarCurrency::getBaseCurrency();
     $this->currency_id = $currency->id;
     $this->base_rate = $currency->conversion_rate;
 }
Пример #6
0
 public function __construct($init = true)
 {
     parent::__construct();
     if ($init) {
         $this->load_flow_beans();
         require_once 'modules/AOW_WorkFlow/aow_utils.php';
     }
 }
Пример #7
0
 public function __construct()
 {
     parent::__construct();
     global $sugar_config;
     if (!$sugar_config['require_accounts']) {
         unset($this->required_fields['account_name']);
     }
     $this->setupCustomFields('Cases');
     foreach ($this->field_defs as $name => $field) {
         $this->field_name_map[$name] = $field;
     }
 }
Пример #8
0
 function __construct()
 {
     $this->home_category = (int) Kohana::config("core.index_category");
     $this->separator_price = Kohana::config("core.separator_price");
     $this->max_items_per_category = (int) Kohana::config("core.category_max_items");
     $this->table = new fpp_category_Model();
     $arrayg = explode(",", $this->table->group_category);
     foreach ($arrayg as $key => $value) {
         $this->metacategories[$value] = $value;
     }
     $this->i18n->category = 'category';
     $this->i18n->pagination = 'pagina';
     parent::__construct();
 }
Пример #9
0
 function __construct()
 {
     $this->table = new fpp_product_Model();
     parent::__construct();
 }
Пример #10
0
 /**
  * Constructor for the Activity bean.
  *
  * Override SugarBean's constructor so that we can create a comment bean as
  * a property of this object.
  */
 public function __construct()
 {
     parent::__construct();
     $this->last_comment_bean = BeanFactory::getBean('Comments');
 }
Пример #11
0
 /**
  * Job constructor.
  */
 public function __construct()
 {
     parent::__construct();
     $this->disable_row_level_security = true;
     if (!empty($GLOBALS['sugar_config']['jobs']['min_retry_interval'])) {
         $this->min_interval = $GLOBALS['sugar_config']['jobs']['min_retry_interval'];
     }
 }
Пример #12
0
 public function __construct($type = "created")
 {
     parent::__construct('easy_audit.doctrine.entity.' . $type);
 }
Пример #13
0
 public function __construct()
 {
     parent::__construct();
     $this->emailAddress = BeanFactory::getBean('EmailAddresses');
 }
Пример #14
0
 public function __construct($db, $id = 0)
 {
     parent::__construct($db, $id);
     $this->mainDB = new DBAdapter2(array('host' => MAIN_HOST, 'username' => MAIN_USERNAME, 'password' => MAIN_PASSWORD, 'schema' => MAIN_SCHEMA));
 }
Пример #15
0
 /**
  * Job constructor.
  */
 public function __construct()
 {
     parent::__construct();
     if (!empty($GLOBALS['sugar_config']['jobs']['min_retry_interval'])) {
         $this->min_interval = $GLOBALS['sugar_config']['jobs']['min_retry_interval'];
     }
 }
Пример #16
0
 public function __construct()
 {
     parent::__construct();
     $this->addVisibilityStrategy('OwnerVisibility');
 }
Пример #17
0
 public function __construct($db = null, $id = 0)
 {
     parent::__construct($db, $id);
 }
Пример #18
0
 function __construct()
 {
     //     $this->table = new fpp_n_Model();
     parent::__construct();
 }
Пример #19
0
 function __construct($string)
 {
     parent::__construct($string);
     $this->packstatebase = str_repeat('.', strlen($string));
     $this->packstate = array();
 }
Пример #20
0
 public function __construct()
 {
     parent::__construct();
     $this->emailAddress = new SugarEmailAddress();
 }
Пример #21
0
 public function __construct($db, $id = 0)
 {
     parent::__construct($db, $id);
     $this->mainDB = new DBAdapter2();
 }
Пример #22
0
 /** Constructor
  * 
  *  @param array $conf
  * 
  */
 public function __construct($conf)
 {
     parent::__construct($conf);
     Trace::add_trace('construct class', __METHOD__);
 }
 public function __construct()
 {
     parent::__construct();
 }
Пример #24
0
 function __construct($db, $id = 0)
 {
     parent::__construct($db, $id);
 }