load() public method

Load upload editor
public load ( ) : mixed
return mixed
Beispiel #1
0
 /**
  * Test
  *
  * @return void
  */
 public function testLoadWithExistingValue()
 {
     $this->object->setValue($this->serializedString);
     $result = $this->object->load();
     $this->assertInternalType('array', $result);
     $this->assertInstanceOf('Zend\\Form\\Element\\Url', $result[0]);
     $this->assertInternalType('string', $result[1]);
 }