obj = new ProgressBar(); return true; } /** * Alias for get(), because now that TimeTrexClientAPI is a proxy method, it can't call an API method that is just named "get". * @param bool $key * @return bool */ function getProgressBar( $key = false ) { return $this->get( $key ); } /** * @param bool $key * @return bool */ function get( $key = false ) { if ( $key != '' ) { return $this->obj->get( $key ); } return false; } /** * @param $key * @param int $total_iterations * @return bool */ function test( $key, $total_iterations = 10 ) { return $this->obj->test( $key, $total_iterations = 10 ); } } ?>