Exponential Basic 2.4.0.1 Exponential Basic CMS — PHP Class Reference

depth.php
Go to the documentation of this file.
1 <?php
16 class ezpContentDepthCriteria implements ezpContentCriteriaInterface
17 {
22 private $depth;
23
24 public function __construct( $depth )
25 {
26 $this->depth = (int)$depth;
27 }
28
29 public function translate()
30 {
31 return array(
32 'type' => 'param',
33 'name' => array( 'Depth' ),
34 'value' => array( $this->depth )
35 );
36 }
37
38 public function __toString()
39 {
40 return 'With depth '.$this->depth;
41 }
42 }
43 ?>
ezpContentDepthCriteria
Definition: depth.php:17
ezpContentDepthCriteria\$depth
$depth
Definition: depth.php:22
ezpContentDepthCriteria\translate
translate()
Definition: depth.php:29
ezpContentDepthCriteria\__construct
__construct( $depth)
Definition: depth.php:24
ezpContentDepthCriteria\__toString
__toString()
Definition: depth.php:38
ezpContentCriteriaInterface
Definition: content_criteria.php:17
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.