/** * Get options * * Merges in element attributes as well. * * @return array */ public function getOptions() { $options = parent::getOptions(); if (null !== ($element = $this->getElement())) { $attribs = $element->getAttribs(); $options = array_merge($options, $attribs); $this->setOptions($options); } return $options; }
public function operation() { // ... расширенная функциональность ... parent::operation(); // ... расширенная функциональность ... }
public function qiChuang() { parent::qiChuang(); $this->decorator(); }
public function decorate($url) { return $this->baseUrl . parent::decorate($url); }
public function testMulticallMethodWrapped() { $this->wrapped->expects($this->once())->method('multicall')->will($this->returnValue('m')); $this->assertSame('m', $this->decorator->multicall()); }
public function huoMian() { $this->paint(); parent::huoMian(); }
public function decorate($url) { return parent::decorate($url); }
public function zhunBei() { parent::zhunBei(); $this->paint(); }