Example #1
0
 public function addColumn($name, $alias = null, $table = null)
 {
     $column = new SqlProjectionColumn($name, $alias);
     $table = $table ?: $this->table;
     if ($table) {
         $column->setTable($table);
     }
     $this->columns->push($column);
     return $this;
 }
 /**
  * Sets a single dependency
  * 
  * @param array $handle THe script handle
  */
 public function addDependency($handle)
 {
     if (is_string($handle)) {
         $this->dependencies->push($handle);
     }
     return $this;
 }
 /**
  * Dequeues scripts
  * You can pass as many file IDs as individual parameters as you need
  * 
  */
 public function dequeue()
 {
     foreach (func_get_args() as $file_id) {
         if (is_string($file_id)) {
             $this->dequeue_list->push($file_id);
         }
     }
     return $this;
 }