src/bbn/mvc/controller.php
public function delete_cached_model(){
    $args = \func_get_args();

    foreach ( $args as $a ){
      if ( \is_string($a) && \strlen($a) ){
        $path = $a;
      }
      else if ( \is_array($a) ){
        $data = $a;
      }
    }
    if ( !isset($path) ){
      $path = $this->path;
    }
    else if ( strpos($path, './') === 0 ){
      $path = $this->say_dir().substr($path, 1);
    }
    if ( !isset($data) ){
      $data = $this->data;
    }
    return $this->mvc->delete_cached_model($path, $data, $this);
  }
public function delete_cached_model(){
    $args = \func_get_args();

    foreach ( $args as $a ){
      if ( \is_string($a) && \strlen($a) ){
        $path = $a;
      }
      else if ( \is_array($a) ){
        $data = $a;
      }
    }
    if ( !isset($path) ){
      $path = $this->path;
    }
    else if ( strpos($path, './') === 0 ){
      $path = $this->say_dir().substr($path, 1);
    }
    if ( !isset($data) ){
      $data = $this->data;
    }
    return $this->mvc->delete_cached_model($path, $data, $this);
  }
public function delete_cached_model ( ) { $ args = \ func_get_args ( ) ; foreach ( $ args as $ a ) { if ( \ is_string ( $ a ) && \ strlen ( $ a ) ) { $ path = $ a ; } else if ( \ is_array ( $ a ) ) { $ data = $ a ; } } if ( ! isset ( $ path ) ) { $ path = $ this -> path ; } else if ( strpos ( $ path , './' ) === 0 ) { $ path = $ this -> say_dir ( ) . substr ( $ path , 1 ) ; } if ( ! isset ( $ data ) ) { $ data = $ this -> data ; } return $ this -> mvc -> delete_cached_model ( $ path , $ data , $ this ) ; }
This will delete the cached model. There is no order for the arguments.

@params string path to the model
@params array data to send to the model
This will delete the cached model . There is no order for the arguments .