public function _init()
 {
     $this->_dependentModels['Childs'] = 'Kwf_Model_FnF_ParentExpr_ChildModel';
     $this->_columns = array('id', 'foo');
     $this->_data = array(array('id' => 1, 'foo' => 5), array('id' => 2, 'foo' => 7));
     parent::_init();
 }
 public function _init()
 {
     $this->_referenceMap = array('Parent' => 'parent_id->Kwf_Model_FnF_ExprGroupConcat_Model');
     $this->_columns = array('id', 'parent_id', 'sort_field', 'sort_field_2');
     $this->_data = array(array('id' => 1, 'parent_id' => 1, 'sort_field' => 3, 'sort_field_2' => 'bbb'), array('id' => 2, 'parent_id' => 1, 'sort_field' => 1, 'sort_field_2' => 'aaa'), array('id' => 3, 'parent_id' => 2, 'sort_field' => 2, 'sort_field_2' => 'ccc'));
     parent::_init();
 }
 protected function _init()
 {
     parent::_init();
     for ($i = 1; $i < 50; $i++) {
         $this->_data[] = array('id' => $i, 'name' => 'foo' . $i);
     }
 }
 public function _init()
 {
     $this->_referenceMap = array('Parent' => 'parent_id->Kwf_Model_FnF_ProxyFnFExtendedReference_ParentModel');
     $this->_columns = array('id', 'parent_id', 'bar');
     $this->_data = array(array('id' => 1, 'parent_id' => 1, 'bar' => 5), array('id' => 2, 'parent_id' => 2, 'bar' => 1), array('id' => 3, 'parent_id' => 1, 'bar' => 1));
     parent::_init();
 }
 protected function _init()
 {
     parent::_init();
     for ($i = 1; $i <= 50; $i++) {
         $this->_data[] = array('component_id' => 'root-en_directory_' . $i, 'name' => 'footrl' . $i, 'visible' => true);
     }
 }
 public function _init()
 {
     $this->_referenceMap = array('Parent' => 'parent_id->Kwf_Model_FnF_ParentExprDeletedFlag_ParentModel');
     $this->_columns = array('id', 'parent_id', 'bar');
     $this->_data = array(array('id' => 1, 'parent_id' => 1, 'bar' => 5), array('id' => 2, 'parent_id' => 2, 'bar' => 1), array('id' => 3, 'parent_id' => 1, 'bar' => 1));
     parent::_init();
     $this->_exprs['parent_foo'] = new Kwf_Model_Select_Expr_Parent('Parent', 'foo');
 }
 public function _init()
 {
     $this->_dependentModels['Childs'] = 'Kwf_Model_FnF_ParentExprDeletedFlag_ChildModel';
     $this->_hasDeletedFlag = true;
     $this->_columns = array('id', 'foo', 'deleted');
     $this->_data = array(array('id' => 1, 'foo' => 5, 'deleted' => true), array('id' => 2, 'foo' => 7, 'deleted' => false));
     parent::_init();
 }
 protected function _init()
 {
     parent::_init();
     $latitude = 47.95334614;
     $longitude = 13.24444771;
     for ($i = 1; $i < 50; $i++) {
         $latitude -= 0.05;
         $longitude -= 0.05;
         $this->_data[] = array('id' => $i, 'name' => 'foo' . $i, 'latitude' => $latitude, 'longitude' => $longitude);
     }
 }
 protected function _init()
 {
     parent::_init();
 }
Beispiel #10
0
 protected function _init()
 {
     $this->_data = array(array('id' => 1, 'email' => '*****@*****.**', 'autologin' => null, 'password_salt' => '123', 'deleted' => false), array('id' => 2, 'email' => '*****@*****.**', 'autologin' => null, 'password_salt' => '1234', 'deleted' => true));
     parent::_init();
 }
Beispiel #11
0
 protected function _init()
 {
     $this->_data = array(array('id' => 1, 'email' => '*****@*****.**', 'password' => md5('foo' . '123'), 'password_salt' => '123', 'deleted' => false), array('id' => 2, 'email' => '*****@*****.**', 'password' => md5('bar' . '1234'), 'password_salt' => '1234', 'deleted' => true));
     parent::_init();
 }
 public function _init()
 {
     $this->_dependentModels['Children'] = 'Kwf_Model_FnF_ExprGroupConcat_ChildModel';
     $this->_columns = array('id', 'foo');
     parent::_init();
 }