protected function _shimRelations() {
		if (!empty($this->belongsTo)) {
			foreach ($this->belongsTo as $k => $v) {
				if (is_int($k)) {
					$k = $v;
					$v = [];
				}
				$v = $this->_parseRelation($v);
				$this->belongsTo(Inflector::pluralize($k), $v);
			}
		}
		if (!empty($this->hasOne)) {
			foreach ($this->hasOne as $k => $v) {
				if (is_int($k)) {
					$k = $v;
					$v = [];
				}
				$v = $this->_parseRelation($v);
				$this->hasOne(Inflector::pluralize($k), $v);
			}
		}
		if (!empty($this->hasMany)) {
			foreach ($this->hasMany as $k => $v) {
				if (is_int($k)) {
					$k = $v;
					$v = [];
				}
				$v = $this->_parseRelation($v);
				$this->hasMany(Inflector::pluralize($k), $v);
			}
		}
		if (!empty($this->hasAndBelongsToMany)) {
			foreach ($this->hasAndBelongsToMany as $k => $v) {
				if (is_int($k)) {
					$k = $v;
					$v = [];
				}
				$v = $this->_parseRelation($v);
				$this->belongsToMany(Inflector::pluralize($k), $v);
			}
		}
	}
protected function _shimRelations() {
		if (!empty($this->belongsTo)) {
			foreach ($this->belongsTo as $k => $v) {
				if (is_int($k)) {
					$k = $v;
					$v = [];
				}
				$v = $this->_parseRelation($v);
				$this->belongsTo(Inflector::pluralize($k), $v);
			}
		}
		if (!empty($this->hasOne)) {
			foreach ($this->hasOne as $k => $v) {
				if (is_int($k)) {
					$k = $v;
					$v = [];
				}
				$v = $this->_parseRelation($v);
				$this->hasOne(Inflector::pluralize($k), $v);
			}
		}
		if (!empty($this->hasMany)) {
			foreach ($this->hasMany as $k => $v) {
				if (is_int($k)) {
					$k = $v;
					$v = [];
				}
				$v = $this->_parseRelation($v);
				$this->hasMany(Inflector::pluralize($k), $v);
			}
		}
		if (!empty($this->hasAndBelongsToMany)) {
			foreach ($this->hasAndBelongsToMany as $k => $v) {
				if (is_int($k)) {
					$k = $v;
					$v = [];
				}
				$v = $this->_parseRelation($v);
				$this->belongsToMany(Inflector::pluralize($k), $v);
			}
		}
	}
protected function _shimRelations ( ) { if ( ! empty ( $ this -> belongsTo ) ) { foreach ( $ this -> belongsTo as $ k => $ v ) { if ( is_int ( $ k ) ) { $ k = $ v ; $ v = [ ] ; } $ v = $ this -> _parseRelation ( $ v ) ; $ this -> belongsTo ( Inflector :: pluralize ( $ k ) , $ v ) ; } } if ( ! empty ( $ this -> hasOne ) ) { foreach ( $ this -> hasOne as $ k => $ v ) { if ( is_int ( $ k ) ) { $ k = $ v ; $ v = [ ] ; } $ v = $ this -> _parseRelation ( $ v ) ; $ this -> hasOne ( Inflector :: pluralize ( $ k ) , $ v ) ; } } if ( ! empty ( $ this -> hasMany ) ) { foreach ( $ this -> hasMany as $ k => $ v ) { if ( is_int ( $ k ) ) { $ k = $ v ; $ v = [ ] ; } $ v = $ this -> _parseRelation ( $ v ) ; $ this -> hasMany ( Inflector :: pluralize ( $ k ) , $ v ) ; } } if ( ! empty ( $ this -> hasAndBelongsToMany ) ) { foreach ( $ this -> hasAndBelongsToMany as $ k => $ v ) { if ( is_int ( $ k ) ) { $ k = $ v ; $ v = [ ] ; } $ v = $ this -> _parseRelation ( $ v ) ; $ this -> belongsToMany ( Inflector :: pluralize ( $ k ) , $ v ) ; } } }
Shim the 2.x way of class properties for relations.

@return void
Shim the 2 . x way of class properties for relations .