|
@@ 2742-2749 (lines=8) @@
|
| 2739 |
|
return $object->call($function, $args); |
| 2740 |
|
} |
| 2741 |
|
|
| 2742 |
|
public function _ls($function="list.html", $args="") { |
| 2743 |
|
// remove possible path information (greedy match) |
| 2744 |
|
if ( ! ( $function instanceof \Closure ) ) { |
| 2745 |
|
$function = basename( (string) $function ); |
| 2746 |
|
} |
| 2747 |
|
return $this->store->call($function, $args, |
| 2748 |
|
$this->store->ls($this->path)); |
| 2749 |
|
} |
| 2750 |
|
|
| 2751 |
|
public function _parents($function="list.html", $args="", $top="") { |
| 2752 |
|
// remove possible path information (greedy match) |
|
@@ 2751-2757 (lines=7) @@
|
| 2748 |
|
$this->store->ls($this->path)); |
| 2749 |
|
} |
| 2750 |
|
|
| 2751 |
|
public function _parents($function="list.html", $args="", $top="") { |
| 2752 |
|
// remove possible path information (greedy match) |
| 2753 |
|
if ( !($function instanceof \Closure ) ) { |
| 2754 |
|
$function = basename( (string) $function); |
| 2755 |
|
} |
| 2756 |
|
return $this->parents($this->path, $function, $args, $top); |
| 2757 |
|
} |
| 2758 |
|
|
| 2759 |
|
public function _find($criteria, $function="list.html", $args="", $limit=100, $offset=0) { |
| 2760 |
|
$this->error = ''; |