Ejemplo n.º 1
0
 public function __construct($r, $p)
 {
     // Make this model use the homelet_insurance database connection
     $this->_refNo = $r;
     $this->_policyNumber = $p;
     parent::__construct();
 }
Ejemplo n.º 2
0
 public function __construct($p)
 {
     // Make this model use the homelet_insurance database connection
     $this->_policyID = $p;
     $this->_homeletUK = Zend_Registry::get($this->_multidb);
     parent::__construct();
 }
Ejemplo n.º 3
0
 public function __construct($agentsRateSetID = null, $riskArea = null)
 {
     // Setup the local variables with the data passed in
     if (!is_null($agentsRateSetID)) {
         $this->_agentRateSetID = $agentsRateSetID;
     }
     if (!is_null($riskArea)) {
         $this->_riskArea = $riskArea;
     }
     // Using the agent rate set ID and the risk area - find out which rate set we need to use
     // TODO: Need to finish this.......!!!!!
     $rateSets = new Datasource_Core_RateSets();
     $this->_rateSetID = $rateSets->getID($this->_agentRateSetID, $this->_riskArea);
     parent::__construct();
 }
Ejemplo n.º 4
0
 /**
  * Constructor
  *
  * @param $type type of policy - currently either 'T', 'L' or 'N/A'
  * @return void
  */
 public function __construct($type = '')
 {
     $this->_optionType = $type;
     parent::__construct();
 }
Ejemplo n.º 5
0
 public function __construct()
 {
     $params = Zend_Registry::get('params');
     $this->_params = $params->cms->extnews;
     parent::__construct();
 }
Ejemplo n.º 6
0
 /**
  * Constructor to initialise private variables
  */
 public function __construct()
 {
     $this->agentSchemeNumber = null;
     $this->tableNames = array();
     $this->tableNames[self::POLICY_TABLE_ALIAS] = self::POLICY_TABLE_NAME;
     $this->tableNames[self::QUOTE_TABLE_ALIAS] = self::QUOTE_TABLE_NAME;
     $this->tableNames[self::INSIGHT_TABLE_ALIAS] = self::INSIGHT_TABLE_NAME;
     $this->tableNames[self::RRP_TABLE_ALIAS] = self::RRP_TABLE_NAME;
     $this->tableNames[self::LLI_TABLE_ALIAS] = self::LLI_TABLE_NAME;
     $this->tableNames[self::NEWAGENT_TABLE_ALIAS] = self::NEWAGENT_TABLE_NAME;
     $this->tableNames[self::TERM_TABLE_ALIAS] = self::TERM_TABLE_NAME;
     $this->tableNames[self::RENEWAL_TABLE_ALIAS] = self::RENEWAL_TABLE_NAME;
     parent::__construct();
 }
Ejemplo n.º 7
0
 public function __construct()
 {
     parent::__construct();
 }
 public function __construct()
 {
     parent::__construct();
     $this->_variablesDatasource = new Datasource_Referencing_OccupationReferenceVariablesMap();
 }