Example #1
0
 /**
  * @param   string   $operand
  * @return  File
  */
 public function __construct($name)
 {
     $pos = strpos($name, '.');
     if (false !== $pos) {
         $this->qName = substr($name, 0, $pos);
         $operand = substr($name, $pos + 1);
         $this->enableQualifiedName();
     } else {
         $operand = $name;
     }
     parent::__construct($operand);
 }
Example #2
0
 /**
  * @param   string   $name
  * @return  File
  */
 public function __construct($name)
 {
     $this->reserved = new SqlReservedWords();
     parent::__construct($name);
 }