You are here

class crumbs_PluginOperation_findTitle in Crumbs, the Breadcrumbs suite 7

Hierarchy

Expanded class hierarchy of crumbs_PluginOperation_findTitle

File

lib/PluginOperation/findTitle.php, line 4

View source
class crumbs_PluginOperation_findTitle extends crumbs_PluginOperation_findForPath {
  protected $method = 'findTitle';
  protected $breadcrumbParents;
  function __construct($path, array $item, array $breadcrumb_parents) {
    crumbs_PluginOperation_findForPath::__construct($path, $item);
    $this->breadcrumbParents = $breadcrumb_parents;
  }
  protected function _invoke($plugin, $method) {
    return $plugin
      ->{$method}($this->path, $this->item, $this->breadcrumbParents);
  }

}

Members

Namesort descending Modifiers Type Description Overrides
crumbs_PluginOperation_findForPath::$candidateKey protected property
crumbs_PluginOperation_findForPath::$candidateValue protected property
crumbs_PluginOperation_findForPath::$candidateWeight protected property
crumbs_PluginOperation_findForPath::$item protected property
crumbs_PluginOperation_findForPath::$log protected property
crumbs_PluginOperation_findForPath::$methods protected property
crumbs_PluginOperation_findForPath::$methodSuffix protected property
crumbs_PluginOperation_findForPath::$path protected property
crumbs_PluginOperation_findForPath::getCandidateKey function
crumbs_PluginOperation_findForPath::getLoggedCandidates function
crumbs_PluginOperation_findForPath::getValue function This runs at the end of the PluginOperation's life cycle, and returns the value that was determined.
crumbs_PluginOperation_findForPath::invoke function This should run once for each plugin object. It should be called by the PluginEngine, during invokeUntilFound(). Overrides crumbs_PluginOperationInterface_find::invoke
crumbs_PluginOperation_findForPath::_setValue protected function
crumbs_PluginOperation_findTitle::$breadcrumbParents protected property
crumbs_PluginOperation_findTitle::$method protected property Overrides crumbs_PluginOperation_findForPath::$method
crumbs_PluginOperation_findTitle::_invoke protected function Overrides crumbs_PluginOperation_findForPath::_invoke
crumbs_PluginOperation_findTitle::__construct function Overrides crumbs_PluginOperation_findForPath::__construct