Aceasta migrare, in teorie, se face o singura data, la release-ul lui alpha10. Pasii de urmat: Step 1. Se ruleaza…
print Editable::widget([ ‘name’ => “theName”,//label_chk_{$baseId} ‘value’ => $treeItem[‘name’], ‘size’ => ‘md’, ‘inputType’ => Editable::INPUT_TEXT, ‘format’ => Editable::FORMAT_LINK, ‘editableValueOptions’ => [‘class’…
SELECT cac . * FROM `company_account_catalog` cac LEFT JOIN company_balance ON cac.id = company_balance.accountCatalogId WHERE cac.companyId =8 AND company_balance.id IS…
$children = CompanyAccountCatalog::find() ->where(“companyId=$companyId”) ->andWhere($parentId > 0 ?”parentId=$parentId” :”parentId<=0 OR parentId is null”) ->orderBy(new Expression(“apAccountId asc, (apAccountId IS NOT NULL…
SELECT company_account_catalog . * FROM `company_account_catalog` LEFT JOIN company_balance ON company_account_catalog.id = company_balance.accountCatalogId WHERE company_balance.id IS NULL AND company_account_catalog.companyId =8…
Executam un sql fara return : $rez = Yii::$app->getDb()->createCommand($sql)->execute(); Executam un sql cu return : $rez = Yii::$app->getDb()->createCommand($sql)->queryAll() ; …
http://www.yiiframework.com/forum/index.php/topic/53332-unable-to-locate-message-source-for-category/
adauga butoanele in modal Save Back Add Close redenumeste id-urile adauga in tagul de iframe onload=”handlePopupButtonsVisibility(this, ‘add-stock’, ‘submit-stock’, ‘back-stock’ );”…
$_REQUEST contine nu numai $_Post Conform manualului ( http://php.net/manual/ro/reserved.variables.request.php ) : An associative array that by default contains the contents of $_GET, $_POST și $_COOKIE.