meniam / model Goto Github PK
View Code? Open in Web Editor NEWPhp mysql models uses ZF2
License: MIT License
Php mysql models uses ZF2
License: MIT License
При добавлении в cond условия и передачи параметра-массива
->where('my_column IN (:column_values)', array(':column_values' => array('text1', 'text2', 'text3')))
запрос выполняется неправильно, а именно:
когда параметр отправляется в Model/Db/Mysql/prepareBindParams
то из массива формируется строка взятых в кавычки параметров через запятую:
'text1','text2','text3'
и после того как эту строку отправляем в sql-запрос, то она интерпретируется как:
WHERE my_column
IN (''text1','text2','text3'')
и запрос работает неправильно
UPD: все описанное справедливо только для строкового массива, массив из int-ов работает нормально
Не работают Helper-ы. В Mvc/View/View.php на строке 354 в helper передается view, но нужно туда передавать renderer, поэтому ничего не работает.
Добрый день Евгений,
Имею вопрос по litefm api
Contact information
If you have questions, send private message on GitHub to this people:
Eugene Myazin - ...
Remember our native language is Russian :)
не могу оформить тестовый запрос, помогите разобратся как вызвать любой метод из api.
на пример country.getList или delivery.getCountryList
пробовал
http://api.dev.litemf.com/v1/?key=ad21c47b3e9da590176dcf70a0512f55e3bfc74b&country.getList
http://api.dev.litemf.com/v1/?key=ad21c47b3e9da590176dcf70a0512f55e3bfc74b&country=getList
http://api.dev.litemf.com/v1/?key=ad21c47b3e9da590176dcf70a0512f55e3bfc74b&action=country.getList
http://api.dev.litemf.com/v1/?key=ad21c47b3e9da590176dcf70a0512f55e3bfc74b/country/getList
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.