当前位置: 首页>>代码示例>>PHP>>正文


PHP Settings::lock方法代码示例

本文整理汇总了PHP中Settings::lock方法的典型用法代码示例。如果您正苦于以下问题:PHP Settings::lock方法的具体用法?PHP Settings::lock怎么用?PHP Settings::lock使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Settings的用法示例。


在下文中一共展示了Settings::lock方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: array

<?php

return Settings::extend('item', array('form_upload' => 'Upload', 'form_store' => 'Store', 'list' => array('hidable' => FALSE, 'tools' => array('update', 'delete'), 'keys' => Settings::lock(array('title', 'file' => array('view' => 'file'))), 'sort' => Settings::lock(array('title' => 'ASC', 'file' => 'ASC')), 'filter' => Settings::lock(array('title' => array('type' => 'text', 'operators' => array('LIKE')), 'file' => array('type' => 'text', 'operators' => array('LIKE')))), 'pagination' => array('step' => 10)), 'unzip' => FALSE, 'extensions' => FALSE, 'url_files' => 'files/files/', 'path_files' => FILESPATH . 'files' . DIRECTORY_SEPARATOR, 'path_temp' => TEMPPATH));
开发者ID:yubinchen18,项目名称:A-basic-website-project-for-a-company-using-the-MVC-pattern-in-Kohana-framework,代码行数:3,代码来源:file.php

示例2: array

<?php

return Settings::extend('item', array('list' => array('view' => array('show_hide' => 'list/item/block_unblock'), 'tools' => array('update', 'delete', 'roles'), 'keys' => array('username', 'email'), 'sort' => Settings::lock(array('username' => 'ASC', 'email' => 'DESC')), 'filter' => Settings::lock(array('username' => array('type' => 'text', 'operators' => array('LIKE')), 'email' => array('type' => 'text', 'operators' => array('LIKE')))), 'pagination' => array('step' => 10))));
开发者ID:yubinchen18,项目名称:A-basic-website-project-for-a-company-using-the-MVC-pattern-in-Kohana-framework,代码行数:3,代码来源:user.php

示例3: array

<?php

return Settings::extend('file', array('form_embed' => 'Embed', 'list' => array('keys' => Settings::lock(array('thumb' => array('view' => 'thumb'), 'file', 'title'))), 'unzip' => TRUE, 'extensions' => array('jpg', 'jpeg', 'png', 'gif'), 'url_files' => 'files/images/original', 'path_files' => FILESPATH . 'images' . DIRECTORY_SEPARATOR . 'original' . DIRECTORY_SEPARATOR, 'url_images' => 'files/images/', 'path_images' => FILESPATH . 'images' . DIRECTORY_SEPARATOR, 'sizes' => array('admin' => array('width' => 90, 'height' => 90, 'method' => Image::METHOD_SCALE, 'enlarge' => TRUE), 'icon' => array('width' => 30, 'height' => 30, 'method' => Image::METHOD_CROP, 'enlarge' => TRUE), 'thumb' => array('width' => 100, 'height' => 100, 'method' => Image::METHOD_CROP, 'enlarge' => TRUE), 'small' => array('width' => 300, 'height' => 1000, 'method' => Image::METHOD_SCALE, 'enlarge' => TRUE), 'normal' => array('width' => 600, 'height' => 2000, 'method' => Image::METHOD_SCALE, 'enlarge' => TRUE), 'big' => array('width' => 1000, 'height' => 4000, 'method' => Image::METHOD_SCALE, 'enlarge' => FALSE), 'huge' => array('width' => 2000, 'height' => 8000, 'method' => Image::METHOD_SCALE, 'enlarge' => FALSE)), 'sizes_embed' => array('small', 'normal'), 'size_enlarge' => 'big'));
开发者ID:yubinchen18,项目名称:A-basic-website-project-for-a-company-using-the-MVC-pattern-in-Kohana-framework,代码行数:3,代码来源:image.php

示例4: array

<?php

return Settings::extend('branch', array('alias' => FALSE, 'list' => array('keys' => Settings::lock(array('title')), 'filter' => Settings::lock(array()), 'sort' => Settings::lock(array()), 'pagination' => FALSE)));
开发者ID:yubinchen18,项目名称:A-basic-website-project-for-a-company-using-the-MVC-pattern-in-Kohana-framework,代码行数:3,代码来源:group.php

示例5: array

<?php

return Settings::extend('item', array('navigation' => Settings::lock(array('tools' => array('default' => array(), 'index' => array(), 'list' => array(), 'create' => array(), 'update' => array())))));
开发者ID:yubinchen18,项目名称:A-basic-website-project-for-a-company-using-the-MVC-pattern-in-Kohana-framework,代码行数:3,代码来源:single.php

示例6: array

<?php

return Settings::extend('branch', array('list' => array('keys' => Settings::lock(array('menu' => array('view' => 'menu')))), 'modules' => array('Item'), 'requests' => array()));
开发者ID:yubinchen18,项目名称:A-basic-website-project-for-a-company-using-the-MVC-pattern-in-Kohana-framework,代码行数:3,代码来源:menu.php

示例7: array

<?php

return Settings::extend('item', array('list' => array('type' => 'table', 'keys' => Settings::lock(array('timed' => array('view' => 'timed', 'width' => 15), 'timestamp' => array('view' => 'timestamp', 'width' => 150), 'time_publication' => array('view' => 'timestamp', 'width' => 150), 'title')), 'sort' => Settings::lock(array('time_publication' => 'DESC')))));
开发者ID:yubinchen18,项目名称:A-basic-website-project-for-a-company-using-the-MVC-pattern-in-Kohana-framework,代码行数:3,代码来源:news.php

示例8: array

<?php

return Settings::extend('item', array('group' => FALSE, 'list' => array('type' => 'tree', 'hidable' => FALSE, 'sortable' => TRUE, 'tools' => Settings::lock(array('create', 'update', 'delete')), 'sort' => Settings::lock(array()), 'filter' => Settings::lock(array()), 'pagination' => Settings::lock(FALSE))));
开发者ID:yubinchen18,项目名称:A-basic-website-project-for-a-company-using-the-MVC-pattern-in-Kohana-framework,代码行数:3,代码来源:branch.php

示例9: array

<?php

return Settings::extend('item', array('list' => array('create' => array(), 'list' => array(), 'filter' => Settings::lock(array('type' => array('type' => 'option', 'operators' => array('='), 'options' => array()))))));
开发者ID:yubinchen18,项目名称:A-basic-website-project-for-a-company-using-the-MVC-pattern-in-Kohana-framework,代码行数:3,代码来源:content.php


注:本文中的Settings::lock方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。