public function __construct($phone, $it) { parent::__construct($it); $this->phone = $phone; // get the phone properties and store them $this->properties = get_object_vars($this->phone); // toss out the properties we don't care about $this->properties = $this->clean_properties($this->properties); }
public function __construct($class_name, $field, $item, $it, $inverse = false) { $this->class_name = $class_name; $this->field = $field; $this->inverse = $inverse; if (is_object($item)) { $this->id = $item->{$field}; } elseif (is_numeric($item)) { $this->id = $item; } else { $sau = $class_name::get($item); $this->id = $item; } //end else parent::__construct($it); }
public function __construct($it, $term_code) { parent::__construct($it); $this->term_code = $term_code; }
public function __construct($it, $detail_code, $payment_id = null) { parent::__construct($it); $this->detail_code = $detail_code; $this->payment_id = $payment_id; }
public function __construct($type, $it) { parent::__construct($it); $this->type = $type; }
public function __construct($it = null) { parent::__construct($it); }
public function __construct($iterator, $match) { parent::__construct($iterator); $this->match = $match; }
public function __construct($rate_code, $it = null) { $this->rate_code = $rate_code; parent::__construct($it); }
public function rewind() { $this->seen = array(); parent::rewind(); }