Exemplo n.º 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'] : '';
 }
Exemplo n.º 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();
 }
Exemplo n.º 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';
 }
Exemplo n.º 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();
 }
Exemplo n.º 5
0
 public function __construct()
 {
     parent::__construct();
     // initialize currency
     $currency = SugarCurrency::getBaseCurrency();
     $this->currency_id = $currency->id;
     $this->base_rate = $currency->conversion_rate;
 }
Exemplo n.º 6
0
 public function __construct($init = true)
 {
     parent::__construct();
     if ($init) {
         $this->load_flow_beans();
         require_once 'modules/AOW_WorkFlow/aow_utils.php';
     }
 }
Exemplo n.º 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;
     }
 }
Exemplo n.º 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();
 }
Exemplo n.º 9
0
 function __construct()
 {
     $this->table = new fpp_product_Model();
     parent::__construct();
 }
Exemplo n.º 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');
 }
Exemplo n.º 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'];
     }
 }
Exemplo n.º 12
0
 public function __construct($type = "created")
 {
     parent::__construct('easy_audit.doctrine.entity.' . $type);
 }
Exemplo n.º 13
0
 public function __construct()
 {
     parent::__construct();
     $this->emailAddress = BeanFactory::getBean('EmailAddresses');
 }
Exemplo n.º 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));
 }
Exemplo n.º 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'];
     }
 }
Exemplo n.º 16
0
 public function __construct()
 {
     parent::__construct();
     $this->addVisibilityStrategy('OwnerVisibility');
 }
Exemplo n.º 17
0
 public function __construct($db = null, $id = 0)
 {
     parent::__construct($db, $id);
 }
Exemplo n.º 18
0
 function __construct()
 {
     //     $this->table = new fpp_n_Model();
     parent::__construct();
 }
Exemplo n.º 19
0
 function __construct($string)
 {
     parent::__construct($string);
     $this->packstatebase = str_repeat('.', strlen($string));
     $this->packstate = array();
 }
Exemplo n.º 20
0
 public function __construct()
 {
     parent::__construct();
     $this->emailAddress = new SugarEmailAddress();
 }
Exemplo n.º 21
0
 public function __construct($db, $id = 0)
 {
     parent::__construct($db, $id);
     $this->mainDB = new DBAdapter2();
 }
Exemplo n.º 22
0
 /** Constructor
  * 
  *  @param array $conf
  * 
  */
 public function __construct($conf)
 {
     parent::__construct($conf);
     Trace::add_trace('construct class', __METHOD__);
 }
 public function __construct()
 {
     parent::__construct();
 }
Exemplo n.º 24
0
 function __construct($db, $id = 0)
 {
     parent::__construct($db, $id);
 }