Chained calls are now possible for most framework class setters and methods not returning a value

This commit is contained in:
alexander.makarow
2011-02-23 20:20:28 +00:00
parent 9b83d58e30
commit 75041e8620
75 changed files with 529 additions and 10 deletions

View File

@@ -40,10 +40,12 @@ class CFormStringElement extends CFormElement
/**
* @param string $value scenario names separated by commas.
* @return CFormStringElement
*/
public function setOn($value)
{
$this->_on=preg_split('/[\s,]+/',$value,-1,PREG_SPLIT_NO_EMPTY);
return $this;
}
/**