@@ 2753-2760 (lines=8) @@ | ||
2750 | return $object->call($function, $args); |
|
2751 | } |
|
2752 | ||
2753 | public function _ls($function="list.html", $args="") { |
|
2754 | // remove possible path information (greedy match) |
|
2755 | if ( ! ( $function instanceof \Closure ) ) { |
|
2756 | $function = basename( (string) $function ); |
|
2757 | } |
|
2758 | return $this->store->call($function, $args, |
|
2759 | $this->store->ls($this->path)); |
|
2760 | } |
|
2761 | ||
2762 | public function _parents($function="list.html", $args="", $top="") { |
|
2763 | // remove possible path information (greedy match) |
|
@@ 2762-2768 (lines=7) @@ | ||
2759 | $this->store->ls($this->path)); |
|
2760 | } |
|
2761 | ||
2762 | public function _parents($function="list.html", $args="", $top="") { |
|
2763 | // remove possible path information (greedy match) |
|
2764 | if ( !($function instanceof \Closure ) ) { |
|
2765 | $function = basename( (string) $function); |
|
2766 | } |
|
2767 | return $this->parents($this->path, $function, $args, $top); |
|
2768 | } |
|
2769 | ||
2770 | public function _find($criteria, $function="list.html", $args="", $limit=100, $offset=0) { |
|
2771 | $this->error = ''; |