コード例 #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getClienteIdCliente()
 {
     return $this->hasOne(Cliente::className(), ['idCliente' => 'Cliente_idCliente']);
 }
コード例 #2
0
ファイル: Pedido.php プロジェクト: 6758144/Project-PHP
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getClienCodigo()
 {
     return $this->hasOne(Cliente::className(), ['clien_codigo' => 'clien_codigo']);
 }
コード例 #3
0
ファイル: NotaVenta.php プロジェクト: rolion/ventacompra
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getIdCliente()
 {
     return $this->hasOne(Cliente::className(), ['id' => 'id_cliente']);
 }
コード例 #4
0
ファイル: EmpresaPyme.php プロジェクト: magrando/transPYME
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getClientes()
 {
     return $this->hasMany(Cliente::className(), ['emp_rut' => 'emp_rut']);
 }
コード例 #5
0
ファイル: Requisicion.php プロジェクト: rzamarripa/shabel
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getCliente()
 {
     return $this->hasOne(Cliente::className(), ['id' => 'cliente_did']);
 }
コード例 #6
0
ファイル: Estatus.php プロジェクト: rzamarripa/shabel
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getClientes()
 {
     return $this->hasMany(Cliente::className(), ['estatus_did' => 'id']);
 }
コード例 #7
0
ファイル: Municipio.php プロジェクト: 6758144/Project-PHP
 /**
  * @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']);
 }