| 1 | <?php |
||
| 8 | class Class_Property extends Declaration { |
||
| 9 | public $class_name; |
||
| 10 | public $prop_name; |
||
| 11 | public $static; |
||
| 12 | |||
| 13 | function __construct( $path, $line, $class_name, $prop_name, $static ) { |
||
| 14 | $this->class_name = $class_name; |
||
| 15 | $this->prop_name = $prop_name; |
||
| 16 | $this->static = $static; |
||
| 17 | parent::__construct( $path, $line ); |
||
| 18 | } |
||
| 19 | |||
| 20 | function to_csv_array() { |
||
| 21 | return array( |
||
| 22 | $this->type(), |
||
| 23 | $this->path, |
||
| 24 | $this->line, |
||
| 25 | $this->class_name, |
||
| 26 | $this->prop_name, |
||
| 27 | $this->static, |
||
| 28 | '' |
||
| 29 | ); |
||
| 30 | } |
||
| 31 | |||
| 32 | function type() { |
||
| 35 | |||
| 36 | function display_name() { |
||
| 40 | } |