Lines Matching refs:defaults
87 public function __construct($model, $defaults=array()) {
88 parent::__construct($model, $defaults);
112 if (isset($defaults['thread'])) {
113 $this->thread = $defaults['thread'];
123 if (isset($defaults['thread_comment'])) {
124 $this->thread_comment = $defaults['thread_comment'];
177 if (isset($defaults['thread']) && $this->thread_id == $defaults['thread']->id) {
178 $this->thread = $defaults['thread'];
181 if (isset($defaults['thread_comment']) && $this->thread_comment_id == $defaults['thread_comment']->id) {
182 $this->thread_comment = $defaults['thread_comment'];