예제 #1
0
 /**
  * Removes a single raw argument
  * 
  * @param string $key  
  */
 public function removeArg($key)
 {
     if (is_string($key)) {
         $this->raw_args->remove($key);
     }
     return $this;
 }
예제 #2
0
 /**
  * Removes target attribute
  * 
  * @param  string $name Name for the target attribute to be removed
  * @return object       This class instance
  */
 public function removeAttr($name)
 {
     if (is_string($name)) {
         $this->config->remove("attrs.{$name}");
     }
     return $this;
 }
예제 #3
0
 /**
  * Removes data stored on the target key
  * 
  * @param  string $key
  * @return class       This class instance
  */
 public function remove($key)
 {
     $this->data->remove($key);
     $this->__autosave();
     return $this;
 }