Created
June 2, 2014 07:56
-
-
Save ergoz/8c965080dddd3188ca2d to your computer and use it in GitHub Desktop.
Запуск stored procedure из mysql в YII Framework
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function getAPI_Function_Stats($param_one, $param_two){ | |
return Yii::app()->db->createCommand("CALL your_stored_procedure(:page, :section)")->queryAll(array(':page' => $param_one, ':section' => $param_two)); | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment