src/CLI/Server/Cron/Parser.php
protected function getValues( $value, $fill = 0 )
	{
		$values	= array();
		if( substr_count( $value, "-" ) )
		{
			$parts	= explode( "-", $value );
			$min	= trim( min( $parts ) );
			$max	= trim( max( $parts ) );
			for( $i=$min; $i<=$max; $i++ )
				$values[] = $this->fill( $i, $fill );
		}
		else if( substr_count( $value, "," ) )
		{
			$parts	= explode( ",", $value );
			foreach( $parts as $part )
				$values[]	= $this->fill( $part, $fill );
		}
		else $values[]	= $this->fill( $value, $fill );
		return $values;
	}
protected function getValues( $value, $fill = 0 )
	{
		$values	= array();
		if( substr_count( $value, "-" ) )
		{
			$parts	= explode( "-", $value );
			$min	= trim( min( $parts ) );
			$max	= trim( max( $parts ) );
			for( $i=$min; $i<=$max; $i++ )
				$values[] = $this->fill( $i, $fill );
		}
		else if( substr_count( $value, "," ) )
		{
			$parts	= explode( ",", $value );
			foreach( $parts as $part )
				$values[]	= $this->fill( $part, $fill );
		}
		else $values[]	= $this->fill( $value, $fill );
		return $values;
	}
protected function getValues ( $ value , $ fill = 0 ) { $ values = array ( ) ; if ( substr_count ( $ value , "-" ) ) { $ parts = explode ( "-" , $ value ) ; $ min = trim ( min ( $ parts ) ) ; $ max = trim ( max ( $ parts ) ) ; for ( $ i = $ min ; $ i <= $ max ; $ i ++ ) $ values [ ] = $ this -> fill ( $ i , $ fill ) ; } else if ( substr_count ( $ value , "," ) ) { $ parts = explode ( "," , $ value ) ; foreach ( $ parts as $ part ) $ values [ ] = $ this -> fill ( $ part , $ fill ) ; } else $ values [ ] = $ this -> fill ( $ value , $ fill ) ; return $ values ; }
Parses one numeric entry of Cron Job.
@access		protected
@param		string		$string		One numeric entry of Cron Job
@return		void
Parses one numeric entry of Cron Job .