示例#1
0
 /**
  * Return the pagetitle
  *
  * @return string
  */
 public function getPageTitle()
 {
     return $this->modx->lexicon('chunk') . ': ' . $this->chunk->get('name');
 }
示例#2
0
 /**
  * @param string $expected
  * @param array $properties
  * @param null|string $content
  * @dataProvider providerProcess
  */
 public function testProcess($expected, array $properties = array(), $content = null)
 {
     $result = $this->chunk->process($properties, $content);
     $this->assertEquals($expected, $result);
 }