__construct() публичный Метод

Builds a new statement setting the $property to manipulate.
public __construct ( $property )
$property
Пример #1
0
 /**
  * Generates a valid SQL statements to add $property of type $type
  * linked to $linked.
  *
  * @param string $property
  * @param string $type
  * @param string $linked
  */
 public function __construct($property, $type = null, $linked = null)
 {
     parent::__construct($property);
     if ($type) {
         $this->setType($type);
     }
     if ($linked) {
         $this->setLinked($linked);
     }
 }