About 517 results: "php empty repo:mayorbrain/precurio-v2"
Page 1 of 26
Filter Results
Sources
Languages
Filter Results
Try Search On











Doctrine.php in precurio-v2 https://bitbucket.org/mayorbrain/precurio-v2 | 1090 lines | PHP
  1.                     $length = $detail['length'];
  2.                     $form['elements'][$column] = array('text', array('validators' => array(array('stringLength', false, array(0, $length))), 'size' => 40, 'label' => $label, 'required' => ($detail['notnull'] == 1) ? false : true, 'value' => (! empty($detail['default']) ? $detail['default'] : "")));
  3.                 case 'date':
  4.                     $form['elements'][$column] = array('text', array('validators' => array(array('Date')), 'size' => 10, 'label' => $label, 'required' => ($detail['notnull'] == 1) ? false : true, 'value' => (! empty($detail['default']) ? $detail['default'] : "")));
  5.                 case 'timestamp':
  6.                     $form['elements'][$column] = array('text', array('validators' => array(array(new Zend_Validate_Date('Y-m-d H:i:s'))), 'size' => 19, 'label' => $label, 'required' => ($detail['notnull'] == 1) ? false : true, 'value' => (! empty($detail['default']) ? $detail['default'] : "")));
  7.                 case 'tinyint':
  8.                     $isZero = (! empty($detail['default']) && $detail['default'] == "0") ? true : false;
  9.                     $form['elements'][$column] = array('text', array('validators' => array('Digits'), 'label' => $label, 'size' => 10, 'required' => ($isZero == false && $detail['notnull'] == 1) ? false : true, 'value' => (! empty($detail['default']) ? $detail['default'] : "")));
  10.         
  11.         if (empty($this->_queryParts['from']['alias'])) {
  12.         
  13.         if (empty($selects)) {
  14.                 
  15.                 if (empty($fieldAlias)) {
  16.              */
  17.             $addColumn = (!empty($fromAlias)) ? $fromAlias . '.' . $fromColumn : $fromColumn;









Back to Top