getEditUrl() public method

(non-PHPdoc)
See also: include Gc\Component\IterableInterface#getEditUrl()
public getEditUrl ( ) : mixed
return mixed
Example #1
0
 /**
  * Test
  *
  * @return void
  */
 public function testRender()
 {
     Registry::get('Application')->getRequest()->getUri()->setPath($this->documentChildren->getEditUrl());
     $collection = new DocumentCollection();
     $collection->load(0);
     $array = array_merge(array($collection), array('test' => 'value'));
     $this->assertTrue(strlen($this->object->render($array)) > 0);
 }
Example #2
0
 /**
  * Test
  *
  * @return void
  */
 public function testGetEditUrl()
 {
     $this->assertInternalType('string', $this->object->getEditUrl());
 }