save() public method

Save Image cropper prevalue editor
public save ( ) : void
return void
Beispiel #1
0
 /**
  * Test
  *
  * @return void
  */
 public function testSave()
 {
     $post = $this->object->getRequest()->getPost();
     $post->set('background', '#FFFFFF');
     $post->set('resize_option', '#auto');
     $post->set('mime_list', array('image/gif', 'image/jpeg', 'image/png'));
     $post->set('size', array(array('name' => '223x112', 'width' => '223', 'height' => '112'), array('name' => '', 'width' => '', 'height' => '')));
     $this->assertNull($this->object->save());
 }