You are here

findParent.php in Crumbs, the Breadcrumbs suite 7

File

lib/PluginOperation/findParent.php
View source
<?php

class crumbs_PluginOperation_findParent extends crumbs_PluginOperation_findForPath {
  protected $method = 'findParent';
  protected function _invoke($plugin, $method) {
    $result = $plugin
      ->{$method}($this->path, $this->item);
    return $result;
  }

}