/** * @param string $name * @param array $info */ function __construct($name, $info) { $this->name = $name; foreach ($info as $col) { $dbcol = new DBColumn($col); $this->cols[$dbcol->field()] = $dbcol; } }
/** * @param string $name * @param array $info */ function __construct($name, $info) { $this->name = $name; foreach ($info as $col) { $dbcol = new DBColumn($col); $this->cols[$dbcol->field()] = $dbcol; } }