View/Helper/TaskHelper.php
public function codeString(array $task, $full = true) {
		return $this->_isCli || (!$task['code_string']) ? $task['code_string'] : $this->Html->tag('span', $this->_text($task['code_string'], $full ? 0 : Configure::read('Task.truncateCode'), true), array(
					'class' => 'label label-' . ($task['code_string'] == 'OK' ? 'success' : 'important'
			)));
	}
public function codeString(array $task, $full = true) {
		return $this->_isCli || (!$task['code_string']) ? $task['code_string'] : $this->Html->tag('span', $this->_text($task['code_string'], $full ? 0 : Configure::read('Task.truncateCode'), true), array(
					'class' => 'label label-' . ($task['code_string'] == 'OK' ? 'success' : 'important'
			)));
	}
public function codeString ( array $ task , $ full = true ) { return $ this -> _isCli || ( ! $ task [ 'code_string' ] ) ? $ task [ 'code_string' ] : $ this -> Html -> tag ( 'span' , $ this -> _text ( $ task [ 'code_string' ] , $ full ? 0 : Configure :: read ( 'Task.truncateCode' ) , true ) , array ( 'class' => 'label label-' . ( $ task [ 'code_string' ] == 'OK' ? 'success' : 'important' ) ) ) ; }
String return code

@param array $task
@param bool $full
@return string
String return code