save() public method

Save mixed prevalue editor
public save ( ) : void
return void
Esempio n. 1
0
 /**
  * Test
  *
  * @return void
  */
 public function testSave()
 {
     $post = $this->object->getRequest()->getPost();
     $post->set('add-model', 'Textstring');
     $post->set('datatypes', array(1 => array('name' => 'Textstring', 'label' => 'TextstringTest', 'length' => 25)));
     $this->assertNull($this->object->save());
 }