System/Facade/HookHandler.php
/**
     * takes the current request called hooks and execute them
     * @return boolean  if the calledHooksCollection property is empty
     */
takes the current request called hooks and execute them
@return boolean  if the calledHooksCollection property is empty
takes the current request called hooks and execute them @return boolean if the calledHooksCollection property is empty
public function run(){
        if(empty($this->calledHooksCollection)){
            return FALSE;
        }
        foreach ($this->calledHooksCollection as $hook){
            $hook->run();
        }
        $this->calledHooksCollection = array();
    }
public function run ( ) { if ( empty ( $ this -> calledHooksCollection ) ) { return FALSE ; } foreach ( $ this -> calledHooksCollection as $ hook ) { $ hook -> run ( ) ; } $ this -> calledHooksCollection = array ( ) ; }
takes the current request called hooks and execute them
 @return boolean  if the calledHooksCollection property is empty
takes the current request called hooks and execute them @return boolean if the calledHooksCollection property is empty
//if there are no execution called hooks //return false //if there are called execution hooks then loop though them //execute the hook //reset the execution hooks to be an empty array