lib/db/cortex.php
public function getAll($prop, $raw = false) {
		$out = array();
		foreach ($this->getArrayCopy() as $model) {
			if ($model instanceof Cortex && $model->exists($prop,true)) {
				$val = $model->get($prop, $raw);
				if (!empty($val))
					$out[] = $val;
			} elseif($raw)
				$out[] = $model;
		}
		return $out;
	}
public function getAll($prop, $raw = false) {
		$out = array();
		foreach ($this->getArrayCopy() as $model) {
			if ($model instanceof Cortex && $model->exists($prop,true)) {
				$val = $model->get($prop, $raw);
				if (!empty($val))
					$out[] = $val;
			} elseif($raw)
				$out[] = $model;
		}
		return $out;
	}
public function getAll ( $ prop , $ raw = false ) { $ out = array ( ) ; foreach ( $ this -> getArrayCopy ( ) as $ model ) { if ( $ model instanceof Cortex && $ model -> exists ( $ prop , true ) ) { $ val = $ model -> get ( $ prop , $ raw ) ; if ( ! empty ( $ val ) ) $ out [ ] = $ val ; } elseif ( $ raw ) $ out [ ] = $ model ; } return $ out ; }
returns all values of a specified property from all models
@param string $prop
@param bool $raw
@return array
returns all values of a specified property from all models