mirror of
https://github.com/yiisoft/yii.git
synced 2026-03-03 14:54:04 +01:00
14 lines
258 B
PHP
14 lines
258 B
PHP
<?php
|
|
class NewApplicationComponent extends CApplicationComponent {
|
|
private $_text=NULL;
|
|
public function getText($text=NULL) {
|
|
if(NULL===$text) {
|
|
return $this->_text;
|
|
}
|
|
return $text;
|
|
}
|
|
public function setText($val) {
|
|
$this->_text = $val;
|
|
}
|
|
}
|