__get() public method

public __get ( $key )
Example #1
0
 public function __get($_name)
 {
     switch ($_name) {
         case "nextId":
             return $this->l_nextId;
         case "insert":
             return $this->l_insert;
         default:
             return parent::__get($_name);
     }
 }