All pastes #2108523 Raw Edit

Someone

public text v1 · immutable
#2108523 ·published 2012-02-01 08:12 UTC
rendered paste body
protected function createComponent($name)
	{
		try {
			$callback = $this->getPresenter()->context->getItem($name)->componentCallback;
			return $callback($this, $name);
		} catch (\Exception $e) {
			try {
				$callback = $this->getContext()->getComponent($name);
				return $callback($this, $name);
			} catch (\Exception $e) {
                try {
				    return parent::createComponent($name);
                } catch (\Exception $e) {
                    echo "xxx";
                }
			}
		}
	}