load() public method

Load Image cropper prevalue editor
public load ( ) : string
return string
Beispiel #1
0
 /**
  * Test
  *
  * @return void
  */
 public function testLoad()
 {
     $this->object->setConfig(array('background' => '#FFFFFF', 'resize_option' => 'auto', 'mime_list' => array('image/gif', 'image/jpeg', 'image/png'), 'size' => array(array('name' => '223x112', 'width' => '223', 'height' => '112'), array('name' => '600x300', 'width' => '600', 'height' => '300'))));
     $this->assertInternalType('string', $this->object->load());
 }