Exponential Basic 2.4.0.1 Exponential Basic CMS — PHP Class Reference

content/criteria/location.php
Go to the documentation of this file.
1 <?php
16 class ezpContentLocationCriteria implements ezpContentCriteriaInterface
17 {
25 public function subtree( ezpContentLocation $subtree )
26 {
27 $this->subtree = $subtree;
28 return $this;
29 }
30
35 public function translate()
36 {
37 return array( 'type' => 'location', 'value' => $this->subtree->node_id );
38 }
39
40 public function __toString()
41 {
42 return "part of subtree " . $this->subtree->node_id;
43 }
44
48 private $subtree;
49 }
50 ?>
ezpContentLocationCriteria
Definition: content/criteria/location.php:17
ezpContentLocationCriteria\__toString
__toString()
Definition: content/criteria/location.php:40
ezpContentLocationCriteria\subtree
subtree(ezpContentLocation $subtree)
Definition: content/criteria/location.php:25
ezpContentLocationCriteria\$subtree
$subtree
Definition: content/criteria/location.php:48
ezpContentLocationCriteria\translate
translate()
Definition: content/criteria/location.php:35
ezpContentLocation
Definition: content/location.php:22
ezpContentCriteriaInterface
Definition: content_criteria.php:17
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.