예제 #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getClienteIdCliente()
 {
     return $this->hasOne(Cliente::className(), ['idCliente' => 'Cliente_idCliente']);
 }
예제 #2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getClienCodigo()
 {
     return $this->hasOne(Cliente::className(), ['clien_codigo' => 'clien_codigo']);
 }
예제 #3
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getIdCliente()
 {
     return $this->hasOne(Cliente::className(), ['id' => 'id_cliente']);
 }
예제 #4
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getClientes()
 {
     return $this->hasMany(Cliente::className(), ['emp_rut' => 'emp_rut']);
 }
예제 #5
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getCliente()
 {
     return $this->hasOne(Cliente::className(), ['id' => 'cliente_did']);
 }
예제 #6
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getClientes()
 {
     return $this->hasMany(Cliente::className(), ['estatus_did' => 'id']);
 }
예제 #7
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getClientes()
 {
     return $this->hasMany(Cliente::className(), ['muni_codigo' => 'muni_codigo']);
 }
예제 #8
0
파일: Pedido.php 프로젝트: albraga/meveana
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getClienteNome()
 {
     return $this->hasOne(Cliente::className(), ['nome' => 'cliente_nome', 'tel' => 'cliente_tel']);
 }