@@ 2679-2686 (lines=8) @@ | ||
2676 | return $object->call($function, $args); |
|
2677 | } |
|
2678 | ||
2679 | public function _ls($function="list.html", $args="") { |
|
2680 | // remove possible path information (greedy match) |
|
2681 | if ( ! ( $function instanceof \Closure ) ) { |
|
2682 | $function = basename( (string) $function ); |
|
2683 | } |
|
2684 | return $this->store->call($function, $args, |
|
2685 | $this->store->ls($this->path)); |
|
2686 | } |
|
2687 | ||
2688 | public function _parents($function="list.html", $args="", $top="") { |
|
2689 | // remove possible path information (greedy match) |
|
@@ 2688-2694 (lines=7) @@ | ||
2685 | $this->store->ls($this->path)); |
|
2686 | } |
|
2687 | ||
2688 | public function _parents($function="list.html", $args="", $top="") { |
|
2689 | // remove possible path information (greedy match) |
|
2690 | if ( !($function instanceof \Closure ) ) { |
|
2691 | $function = basename( (string) $function); |
|
2692 | } |
|
2693 | return $this->parents($this->path, $function, $args, $top); |
|
2694 | } |
|
2695 | ||
2696 | public function _find($criteria, $function="list.html", $args="", $limit=100, $offset=0) { |
|
2697 | $this->error = ''; |